| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 22 | public function output(Collection $detectedQueries, Response $response) | ||
| 23 |     { | ||
| 24 |         foreach ($detectedQueries as $detectedQuery) { | ||
| 25 |             $this->collector->addMessage(sprintf('Model: %s => Relation: %s - You should add `with(%s)` to eager-load this relation.', | ||
| 26 | $detectedQuery['model'], | ||
| 27 | $detectedQuery['relation'], | ||
| 28 | $detectedQuery['relation'] | ||
| 29 | )); | ||
| 30 | } | ||
| 31 | } | ||
| 32 | } | ||
| 33 |