Passed
Push — master ( a91d54...875978 )
by y
02:08
created
src/WebSocket/Frame.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,8 +217,7 @@
 block discarded – undo
217 217
             if (!$this->isFinal()) {
218 218
                 throw new WebSocketError(self::CLOSE_PROTOCOL_ERROR, "Fragmented control frame.");
219 219
             }
220
-        }
221
-        elseif ($this->opCode > self::OP_BINARY) {
220
+        } elseif ($this->opCode > self::OP_BINARY) {
222 221
             throw new WebSocketError(self::CLOSE_PROTOCOL_ERROR, "Reserved data opcode ($this->opCode).");
223 222
         }
224 223
     }
Please login to merge, or discard this patch.