Skip to content

Commit

Permalink
Shift down helper method call
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 3, 2022
1 parent e42e3cd commit d04819d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public function safeHandle(): int

$this->getTagName();

$this->validateTagName();

$this->collectTags();

$this->printSelectionInformation();
Expand All @@ -55,6 +53,8 @@ protected function getTagName(): void
{
$this->tagName = $this->getTagNameFromArgument($this->argument('tagName'))
?? $this->askWithValidation('name', 'Tag name', ['required', 'string']);

$this->validateTagName();
}

protected function getTagNameFromArgument(?string $value): ?string
Expand Down

0 comments on commit d04819d

Please sign in to comment.