| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class TypeName extends Identifier |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var array|Identifier[] |
||
| 21 | */ |
||
| 22 | public array $arguments = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Name constructor. |
||
| 26 | * |
||
| 27 | * @param Identifier $name |
||
| 28 | * @param array|Identifier[] $arguments |
||
| 29 | */ |
||
| 30 | public function __construct(Identifier $name, array $arguments = []) |
||
| 31 | { |
||
| 32 | parent::__construct($name->value); |
||
| 33 | |||
| 34 | $this->arguments = $arguments; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function isGeneric(): bool |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param array|Identifier[] $children |
||
| 47 | * @return Identifier |
||
| 48 | */ |
||
| 49 | public static function create($children): Identifier |
||
| 52 | } |
||
| 53 | } |
||
| 54 |