@@ -28,13 +28,13 @@ discard block |
||
| 28 | 28 | use Helper\WriteConcern; |
| 29 | 29 | |
| 30 | 30 | const VERSION = '1.6.12'; |
| 31 | - const DEFAULT_HOST = "localhost" ; |
|
| 32 | - const DEFAULT_PORT = 27017 ; |
|
| 33 | - const RP_PRIMARY = "primary" ; |
|
| 34 | - const RP_PRIMARY_PREFERRED = "primaryPreferred" ; |
|
| 35 | - const RP_SECONDARY = "secondary" ; |
|
| 36 | - const RP_SECONDARY_PREFERRED = "secondaryPreferred" ; |
|
| 37 | - const RP_NEAREST = "nearest" ; |
|
| 31 | + const DEFAULT_HOST = "localhost"; |
|
| 32 | + const DEFAULT_PORT = 27017; |
|
| 33 | + const RP_PRIMARY = "primary"; |
|
| 34 | + const RP_PRIMARY_PREFERRED = "primaryPreferred"; |
|
| 35 | + const RP_SECONDARY = "secondary"; |
|
| 36 | + const RP_SECONDARY_PREFERRED = "secondaryPreferred"; |
|
| 37 | + const RP_NEAREST = "nearest"; |
|
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @var bool |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | $this->server = $server; |
| 86 | 86 | if (false === strpos($this->server, 'mongodb://')) { |
| 87 | - $this->server = 'mongodb://'.$this->server; |
|
| 87 | + $this->server = 'mongodb://' . $this->server; |
|
| 88 | 88 | } |
| 89 | 89 | $this->client = new Client($this->server, $options, $driverOptions); |
| 90 | 90 | $info = $this->client->__debugInfo(); |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | * @param int|MongoInt64 $id The ID of the cursor to kill. |
| 231 | 231 | * @return bool |
| 232 | 232 | */ |
| 233 | - public function killCursor($server_hash , $id) |
|
| 233 | + public function killCursor($server_hash, $id) |
|
| 234 | 234 | { |
| 235 | 235 | $this->notImplemented(); |
| 236 | 236 | } |