Skip to content

Commit 23b09b6

Browse files
committed
Fix type error uncaught by phpstan
1 parent e93713d commit 23b09b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Server.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ protected function loopOnce(): bool
193193
$read = array_merge([$this->masterSocket], $this->clients);
194194

195195
// Set up a block call to socket_select
196-
$write = null;
197-
$except = null;
196+
$write = [];
197+
$except = [];
198198
$ret = Socket::select($read, $write, $except, $this->timeout);
199199
if (
200200
!is_null($this->timeout)

0 commit comments

Comments
 (0)