Skip to content

Commit

Permalink
Merge pull request #8 from bangnokia/analysis-KZdlKV
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
bangnokia authored Feb 19, 2021
2 parents e92e5e5 + ccbf5a4 commit 1bdd5c0
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 1bdd5c0

Please sign in to comment.