| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 10 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 21 | 16 | private function createBooleanInput(string $name, bool $required = true): Input  | 
            |
| 22 |     { | 
            ||
| 23 | 16 | $input = $this->createInput($name, $required);  | 
            |
| 24 | 16 | $input->getFilterChain()->attach(new Filter\Boolean());  | 
            |
| 25 | 16 | $input->getValidatorChain()->attach(new Validator\NotEmpty(['type' => [  | 
            |
| 26 | 16 | Validator\NotEmpty::OBJECT,  | 
            |
| 27 | 16 | Validator\NotEmpty::SPACE,  | 
            |
| 28 | 16 | Validator\NotEmpty::NULL,  | 
            |
| 29 | 16 | Validator\NotEmpty::EMPTY_ARRAY,  | 
            |
| 30 | 16 | Validator\NotEmpty::STRING,  | 
            |
| 31 | ]]));  | 
            ||
| 32 | |||
| 33 | 16 | return $input;  | 
            |
| 34 | }  | 
            ||
| 36 |