Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
  • Loading branch information
liviuconcioiu committed Jan 25, 2023
1 parent 2d3ad7d commit 63fb4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/LockExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ private static function parseLockType(Parser $parser, TokensList $list)

// Only two possible end states
if ($state !== 1 && $state !== 3) {
$parser->error('Unexpected end of Lock expression.', $prevToken);
$parser->error('Unexpected end of LOCK expression.', $prevToken);
}

return $lockType;
Expand Down

0 comments on commit 63fb4f6

Please sign in to comment.