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 |
||
21 | 12 | public function __construct( |
|
22 | /** |
||
23 | * Alias for the method. |
||
24 | * If not provided, the return type of the method will be used as the alias. |
||
25 | */ |
||
26 | public readonly ?string $alias = null, |
||
27 | /** |
||
28 | * Add aliases from the return type of the method even if the method has an alias. |
||
29 | */ |
||
30 | public readonly bool $aliasesFromReturnType = false, |
||
31 | 12 | ) {} |
|
32 | } |
||
33 |