Skip to content

Commit c93d54e

Browse files
authored
typos comment -> comments
1 parent d624e1d commit c93d54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eloquent-relationships.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ If you need even more power, you may use the `whereHas` and `orWhereHas` methods
793793
$query->where('content', 'like', 'foo%');
794794
})->get();
795795

796-
// Retrieve all posts with at least ten comment containing words like foo%
796+
// Retrieve all posts with at least ten comments containing words like foo%
797797
$posts = App\Post::whereHas('comments', function ($query) {
798798
$query->where('content', 'like', 'foo%');
799799
}, '>=', 10)->get();

0 commit comments

Comments
 (0)