| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | 5 | protected function normalizeRequiredProperties(): array |
|
| 43 | { |
||
| 44 | 5 | $fields = parent::normalizeRequiredProperties(); |
|
| 45 | unset( |
||
| 46 | // The field `name` MUST NOT be specified, it is given in the corresponding headers map. |
||
| 47 | 5 | $fields['name'], |
|
| 48 | // The field `in` MUST NOT be specified, it is implicitly in `header`. |
||
| 49 | 5 | $fields['in'] |
|
| 50 | ); |
||
| 51 | |||
| 52 | 5 | return $fields; |
|
| 53 | } |
||
| 54 | } |
||
| 55 |