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