Completed
Push — master ( 618340...370d15 )
by Arthur
01:45
created
src/WebSocketServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -327,7 +327,7 @@
 block discarded – undo
327 327
         }
328 328
 
329 329
         $key = $match[1];
330
-        $this->handshakes[(int)$client] = $key;
330
+        $this->handshakes[(int) $client] = $key;
331 331
 
332 332
         // sending header according to WebSocket Protocol
333 333
         $secWebSocketAccept = base64_encode(sha1(trim($key) . self::HEADER_WEBSOCKET_ACCEPT_HASH, true));
Please login to merge, or discard this patch.
src/Components/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      */
140 140
     public function getUniqueSocketId(): int
141 141
     {
142
-        return (int)$this->socketConnection;
142
+        return (int) $this->socketConnection;
143 143
     }
144 144
 
145 145
     /**
Please login to merge, or discard this patch.