Skip to content

Commit 63fb4f6

Browse files
committed
Fix error message
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
1 parent 2d3ad7d commit 63fb4f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Components/LockExpression.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private static function parseLockType(Parser $parser, TokensList $list)
198198

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

204204
return $lockType;

0 commit comments

Comments
 (0)