| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ScalarTypeDefinitionASTBuilder extends AbstractASTBuilder |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @inheritdoc |
||
| 13 | */ |
||
| 14 | public function supportsBuilder(string $kind): bool |
||
| 15 | { |
||
| 16 | return $kind === ASTKindEnum::SCALAR_TYPE_DEFINITION; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @inheritdoc |
||
| 21 | */ |
||
| 22 | public function build(LexerInterface $lexer, array $params): ?array |
||
| 36 | ]; |
||
| 37 | } |
||
| 39 |