diff --git a/php/src/AstNode.php b/php/src/AstNode.php index 898b49656..03fa02c36 100644 --- a/php/src/AstNode.php +++ b/php/src/AstNode.php @@ -65,7 +65,7 @@ public function getSingle(string $expectedType, RuleType $ruleType, ?object $def /** needed for non-object return */ public function getSingleUntyped(RuleType $ruleType, mixed $defaultValue = null): mixed { - $items =$this->subItems[$ruleType->name] ?? []; + $items = $this->subItems[$ruleType->name] ?? []; /** * Force the type because we trust the parser, could be validated instead