| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 13 | public static function encountered( |
||
| 14 | Mapping $mapping, |
||
| 15 | Throwable $exception |
||
| 16 | ): MappingFailure { |
||
| 17 | return new self(sprintf( |
||
| 18 | 'Failed to map the collection in the `%s` property: %s', |
||
| 19 | $mapping->name(), |
||
| 20 | $exception->getMessage() |
||
| 21 | ), 0, $exception); |
||
| 22 | } |
||
| 24 |