We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b99c41b + 1de4044 commit 269b8fcCopy full SHA for 269b8fc
src/Elasticsearch/ConnectionPool/SniffingConnectionPool.php
@@ -124,7 +124,7 @@ private function sniffConnection(Connection $connection): bool
124
return true;
125
}
126
127
- private function parseClusterState(string $transportSchema, array $nodeInfo): array
+ private function parseClusterState(string $transportSchema, $nodeInfo): array
128
{
129
$pattern = '/([^:]*):([0-9]+)/';
130
$schemaAddress = $transportSchema . '_address';
src/Elasticsearch/Connections/Connection.php
@@ -448,7 +448,10 @@ public function ping(): bool
448
449
450
451
- public function sniff(): array
+ /**
452
+ * @return array|\GuzzleHttp\Ring\Future\FutureArray
453
+ */
454
+ public function sniff()
455
456
$options = [
457
'client' => [
0 commit comments