Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public static function fromClassAndAssociation(string $class, string $associationName) : self |
||
13 | { |
||
14 | return new self(sprintf( |
||
15 | 'Cannot match on %s::%s with a non-object value. Matching objects by id is ' . |
||
16 | 'not compatible with matching on an in-memory collection, which compares objects by reference.', |
||
17 | $class, |
||
18 | $associationName |
||
19 | )); |
||
22 |