Skip to content

Commit 2a02602

Browse files
committed
Fix code style
1 parent 9657af6 commit 2a02602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Handshake.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function decodeResponse(string $headerBuffer): array {
9999
}
100100

101101
$connection = $headers['connection'][0] ?? '';
102-
if (!\in_array('upgrade', array_map('trim', array_map('strtolower', explode(',', $connection))), true)) {
102+
if (!\in_array('upgrade', \array_map('trim', \array_map('strtolower', \explode(',', $connection))), true)) {
103103
throw new WebSocketException('Missing "Connection: upgrade" header.');
104104
}
105105

0 commit comments

Comments
 (0)