Skip to content

Commit

Permalink
Fix for #916 ClientBuilder::setSSLVerification
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Jul 12, 2019
1 parent 73d76ed commit da7210f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Elasticsearch/ClientBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ public function setSSLKey(string $key, string $password = null): ClientBuilder
return $this;
}

public function setSSLVerification(bool $value = true): ClientBuilder
/**
* @param bool|string $value
*/
public function setSSLVerification($value = true): ClientBuilder
{
$this->sslVerification = $value;

Expand Down

0 comments on commit da7210f

Please sign in to comment.