mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-05 19:37:15 +00:00
Fxi some errors reported by phpstan
This commit is contained in:
@@ -22,7 +22,7 @@ class ArrayTest extends NodeTestCase
|
||||
$elements = [new ConstantExpression('foo', 1), $foo = new ConstantExpression('bar', 1)];
|
||||
$node = new ArrayExpression($elements, 1);
|
||||
|
||||
$this->assertEquals($foo, $node->getNode(1));
|
||||
$this->assertEquals($foo, $node->getNode('1'));
|
||||
}
|
||||
|
||||
public function getTests()
|
||||
|
||||
Reference in New Issue
Block a user