Skip to content

Commit

Permalink
fix for HHVM 4.1 switch fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Rutherford-Jenkins committed Jul 22, 2019
1 parent f6cc0ce commit 9c39493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Expressions/BinaryOperatorExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ public function evaluate(row $row, AsyncMysqlConnection $conn): mixed {
return (int)$left_number << (int)$right_number;
case '>>':
return (int)$left_number >> (int)$right_number;

default:
throw new SQLFakeRuntimeException("Operator recognized but not implemented");
}
case 'LIKE':
$left_string = (string)$left->evaluate($row, $conn);
Expand Down

0 comments on commit 9c39493

Please sign in to comment.