| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public static function tryingToMapCollection( |
||
| 34 | MapsProperty $mapping, |
||
| 35 | Throwable $exception |
||
| 36 | ) : self |
||
| 37 | { |
||
| 38 | return new self( |
||
| 39 | sprintf( |
||
| 40 | 'Failed to map the %s collection of the `%s` property: %s', |
||
| 41 | (new ReflectionClass($mapping))->getShortName(), |
||
| 42 | $mapping->name(), |
||
| 43 | $exception->getMessage() |
||
| 44 | ), |
||
| 45 | 0, |
||
| 46 | $exception |
||
| 47 | ); |
||
| 50 |