diff --git a/src/Response/Elasticsearch.php b/src/Response/Elasticsearch.php index 51a77a02b..6fb4caef1 100644 --- a/src/Response/Elasticsearch.php +++ b/src/Response/Elasticsearch.php @@ -138,7 +138,7 @@ public function asArray(): array return $this->asArray; } throw new UnknownContentTypeException(sprintf( - "Cannot deserialize the reponse as array with Content-Type: %s", + "Cannot deserialize the response as array with Content-Type: %s", $contentType )); } @@ -171,7 +171,7 @@ public function asObject(): object return $this->asObject; } throw new UnknownContentTypeException(sprintf( - "Cannot deserialize the reponse as object with Content-Type: %s", + "Cannot deserialize the response as object with Content-Type: %s", $contentType )); }