Completed
Pull Request — master (#282)
by Maxence
15s
created
lib/Platform/ElasticSearchPlatform.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,12 +98,12 @@
 block discarded – undo
98 98
         $hosts = $this->configService->getElasticHost();
99 99
         foreach ($hosts as $host) {
100 100
             $parsedHost = parse_url($host);
101
-            $safeHost = $parsedHost['scheme'] . '://';
101
+            $safeHost = $parsedHost['scheme'].'://';
102 102
             if (array_key_exists('user', $parsedHost)) {
103
-                $safeHost .= $parsedHost['user'] . ':' . '********' . '@';
103
+                $safeHost .= $parsedHost['user'].':'.'********'.'@';
104 104
             }
105 105
             $safeHost .= $parsedHost['host'];
106
-            $safeHost .= ':' . $parsedHost['port'];
106
+            $safeHost .= ':'.$parsedHost['port'];
107 107
 
108 108
             $sanitizedHosts[] = $safeHost;
109 109
         }
Please login to merge, or discard this patch.