Passed
Push — master ( eb8cf9...6fefc0 )
by Ilario
04:30
created
src/Services/ClientRegistry.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
                 ['database' => $databaseName],
Please login to merge, or discard this patch.