Completed
Pull Request — master (#35)
by
unknown
14:20
created
lib/Alcaeus/MongoDbAdapter/AbstractCursor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function next()
143 143
     {
144
-        if (!$this->startedIterating) {
144
+        if ( ! $this->startedIterating) {
145 145
             $this->ensureIterator();
146 146
             $this->startedIterating = true;
147 147
         } else {
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
         foreach ($traversable as $key => $value) {
283 283
             if ($this instanceof \MongoCursor &&
284 284
                 isset($value->_id) &&
285
-                ($value->_id instanceof \MongoDB\BSON\ObjectID || !is_object($value->_id))
285
+                ($value->_id instanceof \MongoDB\BSON\ObjectID || ! is_object($value->_id))
286 286
             ) {
287 287
                 $key = (string) $value->_id;
288 288
             }
Please login to merge, or discard this patch.