@@ -217,8 +217,7 @@ |
||
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 | } |