| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 23 | public static function with( |
||
| 24 | $result, |
||
| 25 | Mapping $mapping, |
||
| 26 | Satisfiable $constraint |
||
| 27 | ): MappingFailure { |
||
| 28 | return new self(sprintf( |
||
| 29 | 'The %s was refused by the constraint `%s` on property `%s` for the input value %s.', |
||
| 30 | get_class($mapping), |
||
| 31 | get_class($constraint), |
||
| 32 | $mapping->name(), |
||
| 33 | var_export($result, true) |
||
| 34 | )); |
||
| 37 |