diff --git a/src/Elasticsearch/Endpoints/Ingest/Pipeline/Put.php b/src/Elasticsearch/Endpoints/Ingest/Pipeline/Put.php index e6a198901..e8a27455c 100644 --- a/src/Elasticsearch/Endpoints/Ingest/Pipeline/Put.php +++ b/src/Elasticsearch/Endpoints/Ingest/Pipeline/Put.php @@ -18,7 +18,7 @@ */ class Put extends AbstractEndpoint { - public function setBody(string $body): Put + public function setBody($body): Put { if (isset($body) !== true) { return $this;