Completed
Pull Request — master (#41)
by
unknown
03:50
created
lib/Mongo/MongoWriteBatch.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -153,19 +153,19 @@
 block discarded – undo
153 153
         switch ($this->batchType) {
154 154
             case self::COMMAND_UPDATE:
155 155
                 if (! isset($item['q'])) {
156
-                    throw new Exception("Expected $item to contain 'q' key");
156
+                    throw new Exception("expected $item to contain 'q' key");
157 157
                 }
158 158
                 if (! isset($item['u'])) {
159
-                    throw new Exception("Expected $item to contain 'u' key");
159
+                    throw new Exception("expected $item to contain 'u' key");
160 160
                 }
161 161
                 break;
162 162
 
163 163
             case self::COMMAND_DELETE:
164 164
                 if (! isset($item['q'])) {
165
-                    throw new Exception("Expected $item to contain 'q' key");
165
+                    throw new Exception("expected $item to contain 'q' key");
166 166
                 }
167 167
                 if (! isset($item['limit'])) {
168
-                    throw new Exception("Expected $item to contain 'limit' key");
168
+                    throw new Exception("expected $item to contain 'limit' key");
169 169
                 }
170 170
                 break;
171 171
         }
Please login to merge, or discard this patch.