| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public static function inTheInput(array $data, MapsProperty $mapping, string $key) : UnmappableInput |
||
| 15 | { |
||
| 16 | return new self(sprintf( |
||
| 17 | 'Missing the key `%s` for property `%s` the input data: %s; Mapper: %s', |
||
| 18 | $key, |
||
| 19 | $mapping->name(), |
||
| 20 | json_encode($data), |
||
| 21 | get_class($mapping) |
||
| 22 | )); |
||
| 25 |