From 4d750eff75581c4a06f993bed11a4d86cf407cd0 Mon Sep 17 00:00:00 2001 From: Chandrajeet Maurya Date: Wed, 4 Oct 2017 18:29:18 +0700 Subject: [PATCH] fix typo in README.md fix closing bracket typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04984a575..d1bc60f09 100644 --- a/README.md +++ b/README.md @@ -954,7 +954,7 @@ $cursor = DB::collection('users')->raw(function($collection) Optional: if you don't pass a closure to the raw method, the internal MongoCollection object will be accessible: ```php -$model = User::raw()->findOne(['age' => array('$lt' => 18])); +$model = User::raw()->findOne(['age' => array('$lt' => 18)]); ``` The internal MongoClient and MongoDB objects can be accessed like this: