File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ protected function getOutputContent(Collection $detectedQueries)
4242 $ output .= "console.warn('Found the following N+1 queries in this request: \\n \\n " ;
4343 foreach ($ detectedQueries as $ detectedQuery ) {
4444 $ output .= "Model: " .addslashes ($ detectedQuery ['model ' ])." => Relation: " .addslashes ($ detectedQuery ['relation ' ]);
45- $ output .= " - You should add \"with(\' " .$ detectedQuery ['relation ' ]."\') \" to eager-load this relation. " ;
45+ $ output .= " - You should add \"with(\' " .addslashes ( $ detectedQuery ['relation ' ]) ."\') \" to eager-load this relation. " ;
4646 $ output .= "\\n \\n " ;
4747 $ output .= "Model: " .addslashes ($ detectedQuery ['model ' ])."\\n " ;
48- $ output .= "Relation: " .$ detectedQuery ['relation ' ]."\\n " ;
48+ $ output .= "Relation: " .addslashes ( $ detectedQuery ['relation ' ]) ."\\n " ;
4949 $ output .= "Num-Called: " .$ detectedQuery ['count ' ]."\\n " ;
5050 $ output .= "\\n " ;
5151 $ output .= 'Call-Stack: \\n ' ;
You can’t perform that action at this time.
0 commit comments