| Total Complexity | 6 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class GroupUseNodeParser extends AbstractNodeParser implements GroupUseNodeParserInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | public function invoke(Node\Stmt\GroupUse $node, PhpFileModelInterface $parent): PhpFileModelInterface |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Validate a use type. |
||
| 40 | * |
||
| 41 | * @param int $type The type to validate. |
||
| 42 | * |
||
| 43 | * @return bool True if the type is valid. |
||
| 44 | */ |
||
| 45 | private function validateType(int $type): bool |
||
| 50 |