Use proper node names when they are integers

This commit is contained in:
Fabien Potencier
2024-08-26 09:59:54 +02:00
parent 4696eeba1d
commit cde9e7dcd4
11 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class DivisiblebyTest extends TestExpression
->raw('(0 == ')
->subcompile($this->getNode('node'))
->raw(' % ')
->subcompile($this->getNode('arguments')->getNode('0'))
->subcompile($this->getNode('arguments')->getNode(0))
->raw(')')
;
}