Skip to content

Commit

Permalink
Port should not be a string
Browse files Browse the repository at this point in the history
This fixes the failing ClientTest
  • Loading branch information
afrozenpeach authored Jul 13, 2018
1 parent 54369b6 commit 9ecc8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/ClientBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ private function normalizeExtendedHost(array $host)
$host['scheme'] = 'http';
}
if (isset($host['port']) === false) {
$host['port'] = '9200';
$host['port'] = 9200;
}
return $host;
}
Expand Down

0 comments on commit 9ecc8ff

Please sign in to comment.