Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
Jeroen-G authored and StyleCIBot committed Aug 23, 2020
1 parent c4beef7 commit e08e364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/NewPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public function handle()
$vendor = $this->argument('vendor');
$name = $this->argument('name');

if (stripos($vendor, "/") > 0) {
$part = explode("/", $vendor);
if (stripos($vendor, '/') > 0) {
$part = explode('/', $vendor);
$vendor = $part[0];
$name = $part[1];
}
Expand Down

0 comments on commit e08e364

Please sign in to comment.