mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
grammar nit for TypeParseTreeException (#359)
Noticed when looking at recent changes
This commit is contained in:
parent
be3212eb42
commit
f8f67d4d86
@ -98,7 +98,7 @@ class ParseTree
|
||||
|
||||
case ',':
|
||||
if (!$current_leaf->parent) {
|
||||
throw new TypeParseTreeException('Cannot parse comma in with no parent node');
|
||||
throw new TypeParseTreeException('Cannot parse comma without a parent node');
|
||||
}
|
||||
|
||||
$current_parent = $current_leaf->parent;
|
||||
|
Loading…
Reference in New Issue
Block a user