Skip to content

Commit 84fedf0

Browse files
committed
Fix #977: Fix phpcs error
1 parent 177bd95 commit 84fedf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch/Connections/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ private function tryDeserializeError(array $response, string $errorClass): Elast
679679
{
680680
$error = $this->serializer->deserialize($response['body'], $response['transfer_stats']);
681681
if (is_array($error) === true) {
682-
if (isset($error['error']) === false){
682+
if (isset($error['error']) === false) {
683683
// <2.0 "i just blew up" nonstructured exception
684684
// $error is an array but we don't know the format, reuse the response body instead
685685
// added json_encode to convert into a string

0 commit comments

Comments
 (0)