Skip to content

Commit

Permalink
added fix for tags array.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mantas Paulauskas committed Jul 5, 2016
1 parent 3b21dc6 commit 1f52ae8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Foundation/Console/VendorPublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public function fire()

$tags = $tags ?: [null];

$tags = is_string($tags) ? [$tags] : $tags;

foreach ($tags as $tag) {
$this->publishTag($tag);
}
Expand Down

0 comments on commit 1f52ae8

Please sign in to comment.