Skip to content

Commit

Permalink
Fixed example code for nested queries
Browse files Browse the repository at this point in the history
  • Loading branch information
phofmann-trust committed Apr 15, 2016
1 parent b98db07 commit 81ae61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ $users = $collection->find(function ($query) {
$query->where(function ($query) {
$query->where('name', 'Josh')
->orWhere('surname', 'Doe');
})->orWhere(function () {
})->orWhere(function ($query) {
$query->where('name', 'Frank')
->where('surname', 'de Jonge');
});
Expand Down

0 comments on commit 81ae61b

Please sign in to comment.