1
0
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:
Tyson Andre 2017-12-02 22:06:14 -08:00 committed by Matthew Brown
parent be3212eb42
commit f8f67d4d86

View File

@ -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;