Skip to content

Commit

Permalink
Fix expression code for PHVOLT_T_NOT
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Oct 21, 2024
1 parent d067f79 commit a6d7e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ final public function expression(array $expr, bool $doubleQuotes = false): strin

switch ($type) {
case static::PHVOLT_T_NOT:
$exprCode = '|' . $rightCode;
$exprCode = '!' . $rightCode;
break;

case static::PHVOLT_T_MUL:
Expand Down

0 comments on commit a6d7e71

Please sign in to comment.