Skip to content

Commit 35dac7b

Browse files
authored
Update Websocket.php
1 parent 69b8009 commit 35dac7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Protocols/Websocket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ public static function encode($buffer, ConnectionInterface $connection)
304304
*/
305305
public static function decode($buffer, ConnectionInterface $connection)
306306
{
307-
$masks = $data = $decoded = null;
307+
$masks = $data = $decoded = '';
308308
$len = ord($buffer[1]) & 127;
309309
if ($len === 126) {
310310
$masks = substr($buffer, 4, 4);

0 commit comments

Comments
 (0)