From f1812d4a755d1e882ec4e7a25916e4d7a8a631f3 Mon Sep 17 00:00:00 2001 From: Zachary Tong Date: Mon, 6 Feb 2017 08:19:56 -0500 Subject: [PATCH] allowBadJSONSerialization() builder method should be fluent --- src/Elasticsearch/ClientBuilder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Elasticsearch/ClientBuilder.php b/src/Elasticsearch/ClientBuilder.php index 1b09d6556..91a9e0a75 100644 --- a/src/Elasticsearch/ClientBuilder.php +++ b/src/Elasticsearch/ClientBuilder.php @@ -401,6 +401,7 @@ public function setSSLVerification($value = true) public function allowBadJSONSerialization() { $this->allowBadJSON = true; + return $this; } /**