Completed
Push — master ( 00b73c...e0922d )
by Maxence
02:24
created
lib/Platform/ElasticSearchPlatform.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 	}
130 130
 
131 131
 	/**
132
-	 * @param $action
132
+	 * @param string $action
133 133
 	 * @param bool $force
134 134
 	 *
135 135
 	 * @throws InterruptException
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -104,12 +104,12 @@  discard block
 block discarded – undo
104 104
 
105 105
 		foreach ($hosts as $host) {
106 106
 			$parsedHost = parse_url($host);
107
-			$safeHost = $parsedHost['scheme'] . '://';
107
+			$safeHost = $parsedHost['scheme'].'://';
108 108
 			if (array_key_exists('user', $parsedHost)) {
109
-				$safeHost .= $parsedHost['user'] . ':' . '********' . '@';
109
+				$safeHost .= $parsedHost['user'].':'.'********'.'@';
110 110
 			}
111 111
 			$safeHost .= $parsedHost['host'];
112
-			$safeHost .= ':' . $parsedHost['port'];
112
+			$safeHost .= ':'.$parsedHost['port'];
113 113
 
114 114
 			$result[] = $safeHost;
115 115
 		}
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 
337 337
 		$result = $this->indexService->indexDocument($this->client, $provider, $document);
338 338
 
339
-		$this->miscService->log('____1 ' . json_encode($result));
339
+		$this->miscService->log('____1 '.json_encode($result));
340 340
 
341 341
 		//$this->outputRunner('  result with no content: ' . json_encode($result));
342 342
 
Please login to merge, or discard this patch.