| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public static function invalidRelationships($relationships) |
||
| 17 | { |
||
| 18 | return new static(sprintf( |
||
| 19 | '%s [%s] must exist and return an object of type Illuminate\Database\Eloquent\Relations\Relation', |
||
| 20 | Str::plural('Relationship', count($relationships)), |
||
| 21 | join(', ', $relationships) |
||
| 22 | )); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |