From 1445d7aba6dd57e76bc651e2377916633dd8209b Mon Sep 17 00:00:00 2001 From: Erik Huelsmann Date: Mon, 14 Aug 2023 18:48:49 +0200 Subject: [PATCH] Fix PHP formatting to address source formatting failure --- php/src/AstNode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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