Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia authored and StyleCIBot committed Feb 19, 2021
1 parent e92e5e5 commit ccbf5a4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Commands/ServeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ public function handle()
public function serveOptions()
{
return collect($this->options())
->filter(function($option) {
->filter(function ($option) {
return $option;

})->map(function($value, $key) {
if(is_bool($value))
})->map(function ($value, $key) {
if (is_bool($value)) {
return "--{$key}";
}

return "--{$key}={$value}";

})->values();
}
}
}

0 comments on commit ccbf5a4

Please sign in to comment.