We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f19bc commit b2ef76dCopy full SHA for b2ef76d
src/Response/HttpStatusValidator.php
@@ -55,7 +55,7 @@ public function validate(): void
55
}
56
case 200:
57
{
58
- if ((string) $this->response->getBody() == self::ERROR_NOT_FOUND_BODY) {
+ if ($this->response->getBody() == self::ERROR_NOT_FOUND_BODY) {
59
throw new FunctionNotFoundException();
60
61
break;
@@ -66,7 +66,7 @@ public function validate(): void
66
sprintf(
67
self::SOMETHING_WENT_WRONG,
68
$statusCode,
69
- (string) $this->response->getBody()
+ $this->response->getBody()
70
)
71
);
72
0 commit comments