Skip to content

Commit

Permalink
Merge pull request beyondcode#21 from janpio/patch-3
Browse files Browse the repository at this point in the history
Debugbar: Add backticks to clearly indicate code
  • Loading branch information
mpociot authored Jul 18, 2018
2 parents 48583d2 + bc1d061 commit 66517e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Outputs/Debugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function output(Collection $detectedQueries, Response $response)
$collector = new MessagesCollector('N+1 Queries');

foreach ($detectedQueries as $detectedQuery) {
$collector->addMessage(sprintf('Model: %s => Relation: %s - You should add with(%s) to eager-load this relation.',
$collector->addMessage(sprintf('Model: %s => Relation: %s - You should add `with(%s)` to eager-load this relation.',
$detectedQuery['model'],
$detectedQuery['relation'],
$detectedQuery['relation']
Expand Down

0 comments on commit 66517e1

Please sign in to comment.