mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-24 20:56:09 +00:00
Move to PHPStan level 5
This commit is contained in:
@@ -2041,7 +2041,10 @@ final class CoreExtension extends AbstractExtension
|
||||
$dep->triggerDeprecation($src->getPath() ?: $src->getName(), $line);
|
||||
*/
|
||||
|
||||
return new GetAttrExpression($args[0], $args[1], $args[2] ?? null, Template::ANY_CALL, $line);
|
||||
/** @var ArrayExpression|ContextVariable|null $arguments */
|
||||
$arguments = $args[2] ?? null;
|
||||
|
||||
return new GetAttrExpression($args[0], $args[1], $arguments, Template::ANY_CALL, $line);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user