Skip to content

Commit b9d99c6

Browse files
authored
Merge pull request #1319 from cjmling/patch-1
fix typo in README.md
2 parents b8ce7a5 + 4d750ef commit b9d99c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ $cursor = DB::collection('users')->raw(function($collection)
954954
Optional: if you don't pass a closure to the raw method, the internal MongoCollection object will be accessible:
955955

956956
```php
957-
$model = User::raw()->findOne(['age' => array('$lt' => 18]));
957+
$model = User::raw()->findOne(['age' => array('$lt' => 18)]);
958958
```
959959

960960
The internal MongoClient and MongoDB objects can be accessed like this:

0 commit comments

Comments
 (0)