@@ -53,7 +53,7 @@ |
||
53 | 53 | * Create new info object for node. |
54 | 54 | * |
55 | 55 | * @param BaseNode $node Node object |
56 | - * @param array $params List of params to return. Can be: settings, os, process, jvm, thread_pool, network, transport, http |
|
56 | + * @param string[] $params List of params to return. Can be: settings, os, process, jvm, thread_pool, network, transport, http |
|
57 | 57 | */ |
58 | 58 | public function __construct(BaseNode $node, array $params = []) |
59 | 59 | { |
@@ -213,6 +213,9 @@ |
||
213 | 213 | $this->assertArrayHasKey('acknowledged', $createIndexResponse->getData()); |
214 | 214 | } |
215 | 215 | |
216 | + /** |
|
217 | + * @param string $url |
|
218 | + */ |
|
216 | 219 | protected function checkProxy($url): void |
217 | 220 | { |
218 | 221 | $url = \parse_url($url); |