Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 278 | public function __construct( |
|
29 | string $name, |
||
30 | ?array $type, |
||
31 | bool $required = false, |
||
32 | bool $default = false, |
||
33 | ?array $enum = null |
||
34 | ) { |
||
35 | 278 | $this->name = $name; |
|
36 | 278 | $this->type = $type; |
|
37 | 278 | $this->required = $required; |
|
38 | 278 | $this->default = $default; |
|
39 | 278 | $this->enum = $enum; |
|
40 | 278 | } |
|
73 |