| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 1 | public static function matchingAssocationFieldRequiresObject($class, $associationName) |
|
| 18 | { |
||
| 19 | 1 | return new self(sprintf( |
|
| 20 | 'Cannot match on %s::%s with a non-object value. Matching objects by id is ' . |
||
| 21 | 1 | 'not compatible with matching on an in-memory collection, which compares objects by reference.', |
|
| 22 | 1 | $class, |
|
| 23 | 1 | $associationName |
|
| 24 | )); |
||
| 27 |