Completed
Push — master ( 964b03...d96306 )
by Andreas
06:27
created
lib/Mongo/MongoCollection.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * @var MongoDB
39 39
      */
40
-    public $db = NULL;
40
+    public $db = null;
41 41
 
42 42
     /**
43 43
      * @var string
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
             foreach ($operators as $operator) {
140 140
                 $i++;
141 141
                 if (! is_array($operator)) {
142
-                    trigger_error("Argument $i is not an array", E_USER_WARNING);
142
+                    trigger_error("argument $i is not an array", E_USER_WARNING);
143 143
                     return;
144 144
                 }
145 145
 
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      * @param bool $scan_data Only validate indices, not the base collection.
255 255
      * @return array Returns the database's evaluation of this object.
256 256
      */
257
-    public function validate($scan_data = FALSE)
257
+    public function validate($scan_data = false)
258 258
     {
259 259
         $command = [
260 260
             'validate' => $this->name,
Please login to merge, or discard this patch.