@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | */ |
| 243 | 243 | public function hasNext() |
| 244 | 244 | { |
| 245 | - if (! $this->startedIterating) { |
|
| 245 | + if ( ! $this->startedIterating) { |
|
| 246 | 246 | $this->ensureIterator(); |
| 247 | 247 | $this->startedIterating = true; |
| 248 | 248 | $this->storeIteratorState(); |
@@ -426,7 +426,7 @@ discard block |
||
| 426 | 426 | */ |
| 427 | 427 | protected function convertCursorType() |
| 428 | 428 | { |
| 429 | - if (! $this->tailable) { |
|
| 429 | + if ( ! $this->tailable) { |
|
| 430 | 430 | return null; |
| 431 | 431 | } |
| 432 | 432 | |
@@ -23,13 +23,13 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function key() |
| 25 | 25 | { |
| 26 | - if (!$this->useIdAsKey) { |
|
| 26 | + if ( ! $this->useIdAsKey) { |
|
| 27 | 27 | return parent::key(); |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | $current = $this->current(); |
| 31 | 31 | |
| 32 | - if (!isset($current->_id) || (is_object($current->_id) && !$current->_id instanceof ObjectID)) { |
|
| 32 | + if ( ! isset($current->_id) || (is_object($current->_id) && ! $current->_id instanceof ObjectID)) { |
|
| 33 | 33 | return parent::key(); |
| 34 | 34 | } |
| 35 | 35 | |