File tree 1 file changed +2
-2
lines changed
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)
42
42
$ output .= "console.warn('Found the following N+1 queries in this request: \\n \\n " ;
43
43
foreach ($ detectedQueries as $ detectedQuery ) {
44
44
$ 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. " ;
46
46
$ output .= "\\n \\n " ;
47
47
$ output .= "Model: " .addslashes ($ detectedQuery ['model ' ])."\\n " ;
48
- $ output .= "Relation: " .$ detectedQuery ['relation ' ]."\\n " ;
48
+ $ output .= "Relation: " .addslashes ( $ detectedQuery ['relation ' ]) ."\\n " ;
49
49
$ output .= "Num-Called: " .$ detectedQuery ['count ' ]."\\n " ;
50
50
$ output .= "\\n " ;
51
51
$ output .= 'Call-Stack: \\n ' ;
You can’t perform that action at this time.
0 commit comments