Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | public function __construct(string $default, ?string $description, string... $enums) |
||
35 | { |
||
36 | $this->default = $default; |
||
37 | $this->description = $description; |
||
38 | if (!empty($enums)) { |
||
39 | $this->enums = StringList::fromNative($enums); |
||
40 | } |
||
41 | $this->validateProperties(); |
||
42 | $this->specificationExtension = new SpecificationExtension([]); |
||
43 | } |
||
70 |