@@ -92,7 +92,7 @@ discard block |
||
| 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 |
||
| 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, |