diff --git a/src/Commands/StartSwooleCommand.php b/src/Commands/StartSwooleCommand.php index d3ebd945a..8a3be8953 100644 --- a/src/Commands/StartSwooleCommand.php +++ b/src/Commands/StartSwooleCommand.php @@ -177,7 +177,7 @@ protected function writeServerOutput($server) ->filter() ->groupBy(fn ($output) => $output) ->each(function ($group) { - is_array($stream = json_decode($output = $group->first(), true)) + is_array($stream = json_decode($output = $group->first(), true)) && isset($stream['type']) ? $this->handleStream($stream) : $this->error($output);