File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
tests/Elasticsearch/Tests Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -472,7 +472,6 @@ public function setSSLVerification($value = true): ClientBuilder
472
472
473
473
/**
474
474
* Include the port in Host header
475
- *
476
475
* @see https://github.com/elastic/elasticsearch-php/issues/993
477
476
*/
478
477
public function includePortInHostHeader (bool $ enable ): ClientBuilder
@@ -523,7 +522,7 @@ public function build(): Client
523
522
}
524
523
525
524
$ this ->connectionParams ['client ' ]['port_in_header ' ] = $ this ->includePortInHostHeader ;
526
-
525
+
527
526
if (is_null ($ this ->connectionFactory )) {
528
527
if (is_null ($ this ->connectionParams )) {
529
528
$ this ->connectionParams = [];
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ public function getHttpPorts()
82
82
83
83
/**
84
84
* @dataProvider getHttpPorts
85
- *
86
85
* @see https://github.com/elastic/elasticsearch-php/issues/993
87
86
*/
88
87
public function testIncludePortInHostHeader (int $ port , bool $ included )
You can’t perform that action at this time.
0 commit comments