Completed
Pull Request — master (#210)
by
unknown
02:52
created
lib/Mongo/MongoClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
         $replicaSet = null;
94 94
 
95
-        if (isset($options['replicaSet']) && !empty($options['replicaSet'])) {
95
+        if (isset($options['replicaSet']) && ! empty($options['replicaSet'])) {
96 96
             $replicaSet = $options['replicaSet'];
97 97
         }
98 98
 
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             $results[$key] = [
252 252
                 'host' => $server->getHost(),
253 253
                 'port' => $server->getPort(),
254
-                'health' => (int)$info['ok'],
254
+                'health' => (int) $info['ok'],
255 255
                 'state' => $state,
256 256
                 'ping' => $server->getLatency(),
257 257
                 'lastPing' => null,
Please login to merge, or discard this patch.