Constructs a declare node.
DeclareItem[] $declares List of declares:
Node\Stmt[]|null $stmts Statements:
array<string, mixed> $attributes Additional attributes:
public function __construct(array $declares, ?array $stmts = null, array $attributes = []) { $this->attributes = $attributes; $this->declares = $declares; $this->stmts = $stmts; }