File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ protected function getOutputContent(Collection $detectedQueries)
36
36
$ output = '<script type="text/javascript"> ' ;
37
37
$ output .= "alert('Found the following N+1 queries in this request: \\n \\n " ;
38
38
foreach ($ detectedQueries as $ detectedQuery ) {
39
- $ output .= "Model: " .addslashes ($ detectedQuery ['model ' ]). " => Relation: " .addslashes ($ detectedQuery ['relation ' ]);
39
+ $ output .= "Model: " .addslashes ($ detectedQuery ['model ' ])." => Relation: " .addslashes ($ detectedQuery ['relation ' ]);
40
40
$ output .= " - You should add \"with(\' " .addslashes ($ detectedQuery ['relation ' ])."\') \" to eager-load this relation. " ;
41
41
$ output .= "\\n " ;
42
42
}
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ protected function getOutputContent(Collection $detectedQueries)
27
27
$ output = '<script type="text/javascript"> ' ;
28
28
$ output .= "console.warn('Found the following N+1 queries in this request: \\n \\n " ;
29
29
foreach ($ detectedQueries as $ detectedQuery ) {
30
- $ output .= "Model: " . addslashes ($ detectedQuery ['model ' ]) . " => Relation: " . addslashes ($ detectedQuery ['relation ' ]);
31
- $ output .= " - You should add \"with(\' " . $ detectedQuery ['relation ' ] . "\') \" to eager-load this relation. " ;
30
+ $ output .= "Model: " . addslashes ($ detectedQuery ['model ' ]). " => Relation: " . addslashes ($ detectedQuery ['relation ' ]);
31
+ $ output .= " - You should add \"with(\' " . $ detectedQuery ['relation ' ]. "\') \" to eager-load this relation. " ;
32
32
$ output .= "\\n \\n " ;
33
- $ output .= "Model: " . addslashes ($ detectedQuery ['model ' ]) . "\\n " ;
34
- $ output .= "Relation: " . $ detectedQuery ['relation ' ] . "\\n " ;
35
- $ output .= "Num-Called: " . $ detectedQuery ['count ' ] . "\\n " ;
33
+ $ output .= "Model: " . addslashes ($ detectedQuery ['model ' ]). "\\n " ;
34
+ $ output .= "Relation: " . $ detectedQuery ['relation ' ]. "\\n " ;
35
+ $ output .= "Num-Called: " . $ detectedQuery ['count ' ]. "\\n " ;
36
36
$ output .= "\\n " ;
37
37
$ output .= 'Call-Stack: \\n ' ;
38
38
You can’t perform that action at this time.
0 commit comments