Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 0 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1 |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
17 | 11 | public function __construct( |
|
18 | /** |
||
19 | * @var string The string representation of a type, for example: `int`, `bool`, etc. In case of a class it's a |
||
20 | * full path including namespace, for example `Yiisoft\Proxy\Tests\Stub\Node`. For built-in classes like |
||
21 | * `ArrayIterator` the leading slash is not included. |
||
22 | * |
||
23 | * @link https://www.php.net/manual/en/language.types.declarations.php |
||
24 | */ |
||
25 | public string $name, |
||
26 | /** |
||
27 | * @var bool Whether the null values are allowed. |
||
28 | * |
||
29 | * @link https://www.php.net/manual/en/migration71.new-features.php#migration71.new-features.nullable-types |
||
30 | */ |
||
31 | public bool $allowsNull, |
||
32 | ) { |
||
33 | 11 | } |
|
35 |