Completed
Push — master ( ef4a6b...d57726 )
by Arthur
04:47 queued 10s
created
src/WebSocketServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     private const HEADER_BYTES_READ = 1024;
38 38
 
39 39
     // stream non-blocking
40
-    public const NON_BLOCK  = 0;
40
+    public const NON_BLOCK = 0;
41 41
 
42 42
     /**
43 43
      * WebSocketServer constructor.
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
         }
335 335
 
336 336
         $key = $match[1];
337
-        $this->handshakes[(int)$client] = $key;
337
+        $this->handshakes[(int) $client] = $key;
338 338
 
339 339
         // sending header according to WebSocket Protocol
340 340
         $secWebSocketAccept = base64_encode(sha1(trim($key) . self::HEADER_WEBSOCKET_ACCEPT_HASH, true));
Please login to merge, or discard this patch.