mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-09 21:35:40 +00:00
Fix CS
This commit is contained in:
@@ -70,7 +70,7 @@ class OptimizerTest extends TestCase
|
||||
public function checkForVarConfiguration(Node $node, $target)
|
||||
{
|
||||
foreach ($node as $n) {
|
||||
if (NameExpression::class === \get_class($n) && $target === $n->getAttribute('name')) {
|
||||
if (NameExpression::class === $n::class && $target === $n->getAttribute('name')) {
|
||||
$this->assertTrue($n->getAttribute('always_defined'));
|
||||
} else {
|
||||
$this->checkForVarConfiguration($n, $target);
|
||||
|
||||
Reference in New Issue
Block a user