Skip to content

Commit 4a46895

Browse files
authored
Update DefaultClient.php
1 parent 6554293 commit 4a46895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/DefaultClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function getBaseUri(): ?string
1313

1414
public function handleEmptyResponse(?string $content = null, ?ResponseInterface $response = null)
1515
{
16-
throw new \RuntimeException(sprintf("Request fail , response body is ein class %s", static::class), $response->getStatusCode());
16+
throw new \RuntimeException(sprintf("Request fail , response body is empty in class %s", static::class), $response->getStatusCode());
1717
}
1818

1919
public function isErrorResponse(array $data): bool

0 commit comments

Comments
 (0)