|null */ public ?NodeList $variableDefinitions = null; public NamedTypeNode $typeCondition; /** @var NodeList */ public NodeList $directives; public SelectionSetNode $selectionSet; public function __construct(array $vars) { parent::__construct($vars); $this->directives ??= new NodeList([]); } public function getSelectionSet(): SelectionSetNode { return $this->selectionSet; } }