Skip to content

Commit

Permalink
Make publish variadic
Browse files Browse the repository at this point in the history
  • Loading branch information
misenhower committed Aug 22, 2023
1 parent 65bc4f4 commit aa2ea56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ public function handle()
}
}

public function publish(string $tag): self
public function publish(string ...$tag): self
{
$this->publishes[] = $tag;
$this->publishes = array_merge($this->publishes, $tag);

return $this;
}
Expand Down

0 comments on commit aa2ea56

Please sign in to comment.