| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | trait KeyRequiring |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Asserts that our key is present in the input array. |
||
| 20 | * |
||
| 21 | * @param mixed[] $data Input data that must contain our key. |
||
| 22 | * @throws MappingFailure When the input data does not contain our key. |
||
| 23 | */ |
||
| 24 | private function mustHaveTheKeyInThe(array $data): void |
||
| 33 |