mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-19 02:05:27 +00:00
Use proper node names when they are integers
This commit is contained in:
@@ -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(')')
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user