Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function build(array $ast): NodeInterface |
||
16 | { |
||
17 | return new UnionTypeExtensionNode([ |
||
18 | 'name' => $this->buildOne($ast, 'name'), |
||
19 | 'directives' => $this->buildMany($ast, 'directives'), |
||
20 | 'types' => $this->buildMany($ast, 'types'), |
||
21 | 'location' => $this->createLocation($ast), |
||
22 | ]); |
||
33 |