Completed
Pull Request — master (#62)
by .
03:13
created
src/Services/ClientRegistry.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         return implode(
91 91
             ',',
92 92
             array_map(
93
-                function (array $host) {
93
+                function(array $host) {
94 94
                     if (!$host['port']) {
95 95
                         return $host['host'];
96 96
                     }
@@ -129,9 +129,9 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function getClient(string $name, string $databaseName = null): Client
131 131
     {
132
-        $clientKey = null !== $databaseName ? $name . '.' . $databaseName : $name;
132
+        $clientKey = null !== $databaseName ? $name.'.'.$databaseName : $name;
133 133
 
134
-        if (! isset($this->clients[$clientKey])) {
134
+        if (!isset($this->clients[$clientKey])) {
135 135
             $conf = $this->configurations[$name];
136 136
             $uri = sprintf('%s://%s', $conf->getProto(), $conf->getHosts());
137 137
             $options = array_merge(
Please login to merge, or discard this patch.