Skip to content

Commit

Permalink
SimpleSocket missing reutrn $out in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
qxsch committed Mar 27, 2018
1 parent dc240b7 commit 00bac50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SimpleSocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public static function select(array $readSockets = array(), array $writeSockets
sprintf('socket_select(): unable to select [%d]: %s', $socketError, socket_strerror($socketError)),
E_USER_WARNING
);
return $out;
}
}

Expand Down

0 comments on commit 00bac50

Please sign in to comment.