Skip to content

Commit 411cef2

Browse files
Fix (#316)
Co-authored-by: Henrique Bremenkanp <[email protected]>
1 parent 58516e7 commit 411cef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/StartSwooleCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ protected function writeServerOutput($server)
177177
->filter()
178178
->groupBy(fn ($output) => $output)
179179
->each(function ($group) {
180-
is_array($stream = json_decode($output = $group->first(), true))
180+
is_array($stream = json_decode($output = $group->first(), true)) && isset($stream['type'])
181181
? $this->handleStream($stream)
182182
: $this->error($output);
183183

0 commit comments

Comments
 (0)