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