| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | 5 | public function __construct( |
|
| 14 | string $name, |
||
| 15 | string $type, |
||
| 16 | int $mode = 0, |
||
| 17 | ?string $description = null, |
||
| 18 | ?string $deprecationReason = null, |
||
| 19 | mixed $defaultValue = null, |
||
| 20 | ) { |
||
| 21 | 5 | parent::__construct($name, $type, $mode, $description, $deprecationReason); |
|
| 22 | |||
| 23 | 5 | if (func_num_args() >= 6) { |
|
| 24 | 1 | $this->defaultValue = $defaultValue; |
|
|
|
|||
| 25 | } |
||
| 39 |