Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 0 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | 12 | public function __construct( |
|
13 | /** |
||
14 | * Alias for the method. |
||
15 | * If not provided, the return type of the method will be used as the alias. |
||
16 | */ |
||
17 | public readonly ?string $alias = null, |
||
18 | /** |
||
19 | * Add aliases from the return type of the method even if the method has an alias. |
||
20 | */ |
||
21 | public readonly bool $aliasesFromReturnType = false, |
||
22 | 12 | ) {} |
|
23 | } |
||
24 |