Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
29 | 9 | public function __construct(string $name, Type $type, bool $isDefault = false, array $enumValues = [], bool $isRequired = false) |
|
30 | { |
||
31 | 9 | $this->name = $name; |
|
32 | 9 | $this->type = $type; |
|
33 | 9 | $this->enumValues = $enumValues; |
|
34 | 9 | $this->isRequired = $isRequired; |
|
35 | 9 | $this->default = $isDefault; |
|
36 | 9 | } |
|
66 |