Overrides Node::__construct
public function __construct(Node $body, ?Node $variables, bool $only, int $lineno) { $nodes = [ 'body' => $body, ]; if (null !== $variables) { $nodes['variables'] = $variables; } parent::__construct($nodes, [ 'only' => $only, ], $lineno); }