@@ -327,7 +327,7 @@ |
||
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)); |