@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | \MongoClient::RP_SECONDARY_PREFERRED, |
| 217 | 217 | \MongoClient::RP_NEAREST |
| 218 | 218 | ]; |
| 219 | - if (! in_array($readPreference, $availableReadPreferences)) { |
|
| 219 | + if (!in_array($readPreference, $availableReadPreferences)) { |
|
| 220 | 220 | trigger_error("The value '$readPreference' is not valid as read preference type", E_WARNING); |
| 221 | 221 | return $this; |
| 222 | 222 | } |
@@ -357,7 +357,7 @@ discard block |
||
| 357 | 357 | } |
| 358 | 358 | |
| 359 | 359 | $iterationInfo += [ |
| 360 | - 'id' => (string)$this->cursor->getId(), |
|
| 360 | + 'id' => (string) $this->cursor->getId(), |
|
| 361 | 361 | 'at' => null, // @todo Complete info for cursor that is iterating |
| 362 | 362 | 'numReturned' => null, // @todo Complete info for cursor that is iterating |
| 363 | 363 | 'server' => null, // @todo Complete info for cursor that is iterating |
@@ -377,7 +377,7 @@ |
||
| 377 | 377 | */ |
| 378 | 378 | protected function convertCursorType() |
| 379 | 379 | { |
| 380 | - if (! $this->tailable) { |
|
| 380 | + if (!$this->tailable) { |
|
| 381 | 381 | return null; |
| 382 | 382 | } |
| 383 | 383 | |