diff --git a/src/Commands/ServeCommand.php b/src/Commands/ServeCommand.php index 5cc5369..31fc4e3 100644 --- a/src/Commands/ServeCommand.php +++ b/src/Commands/ServeCommand.php @@ -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(); } -} \ No newline at end of file +}