@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | private function buildClientConfiguration(array $conf): ClientConfiguration |
62 | 62 | { |
63 | - if (! $conf['uri']) { |
|
63 | + if (!$conf['uri']) { |
|
64 | 64 | $conf['uri'] = self::buildConnectionUri($conf['hosts']); |
65 | 65 | } |
66 | 66 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | return 'mongodb://' . implode( |
90 | 90 | ',', |
91 | 91 | array_map( |
92 | - static function (array $host): string { |
|
92 | + static function(array $host): string { |
|
93 | 93 | return sprintf('%s:%d', $host['host'], $host['port']); |
94 | 94 | }, |
95 | 95 | $hosts |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | { |
112 | 112 | $clientKey = null !== $databaseName ? $name . '.' . $databaseName : $name; |
113 | 113 | |
114 | - if (! isset($this->clients[$clientKey])) { |
|
114 | + if (!isset($this->clients[$clientKey])) { |
|
115 | 115 | $conf = $this->configurations[$name]; |
116 | 116 | $options = array_merge( |
117 | 117 | [ |
@@ -120,8 +120,8 @@ |
||
120 | 120 | { |
121 | 121 | return array_filter( |
122 | 122 | $options, |
123 | - function ($value): bool { |
|
124 | - return ! empty($value) || \is_int($value) || \is_bool($value) || \is_float($value); |
|
123 | + function($value): bool { |
|
124 | + return !empty($value) || \is_int($value) || \is_bool($value) || \is_float($value); |
|
125 | 125 | } |
126 | 126 | ); |
127 | 127 | } |