Skip to content

Commit 422b6ac

Browse files
committed
Fixed CS issues
1 parent 2cd9d93 commit 422b6ac

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Elasticsearch/ClientBuilder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ public function setSSLVerification($value = true): ClientBuilder
472472

473473
/**
474474
* Include the port in Host header
475-
*
476475
* @see https://github.com/elastic/elasticsearch-php/issues/993
477476
*/
478477
public function includePortInHostHeader(bool $enable): ClientBuilder
@@ -523,7 +522,7 @@ public function build(): Client
523522
}
524523

525524
$this->connectionParams['client']['port_in_header'] = $this->includePortInHostHeader;
526-
525+
527526
if (is_null($this->connectionFactory)) {
528527
if (is_null($this->connectionParams)) {
529528
$this->connectionParams = [];

tests/Elasticsearch/Tests/ClientBuilderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public function getHttpPorts()
8282

8383
/**
8484
* @dataProvider getHttpPorts
85-
*
8685
* @see https://github.com/elastic/elasticsearch-php/issues/993
8786
*/
8887
public function testIncludePortInHostHeader(int $port, bool $included)

0 commit comments

Comments
 (0)