Passed
Push — master ( 61b24c...1ef451 )
by Ilario
03:32
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
                 [
Please login to merge, or discard this patch.
src/Models/ClientConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,8 +120,8 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.