@@ -129,7 +129,7 @@ |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
132 | - * @param $action |
|
132 | + * @param string $action |
|
133 | 133 | * @param bool $force |
134 | 134 | * |
135 | 135 | * @throws InterruptException |
@@ -104,12 +104,12 @@ discard block |
||
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 |
||
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 |