@ -140,6 +140,6 @@ trait AstNodeType
protected function isEmptyArray(NodeAbstract $expr): bool
{
return $expr instanceof Node\Expr\Array_ && count($expr->items) === 0;
return $expr instanceof Expr\Array_ && count($expr->items) === 0;
}
@ -11,7 +11,6 @@ namespace PhpAot\Php;
use League\CLImate\CLImate;
use PhpAot\Php\Context\FunctionContext;
use PhpAot\Php\Entity\ClassDef;
use PhpAot\Php\Entity\ConstantDef;
use PhpAot\Php\Entity\FunctionDef;
use PhpAot\Php\Entity\InterfaceDef;
use PhpAot\Php\Entity\MethodDef;
@ -16,6 +16,7 @@ class FunctionContext
public array $objects = [];
public array $localVars = [];
public array $staticVars = [];
/**
* @var array<string, string>
*/