@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace juniorb2ss\DeathByCaptcha\Abstracts; |
4 | 4 | |
5 | -use Psr\Http\Message\ResponseInterface; |
|
6 | 5 | use juniorb2ss\DeathByCaptcha\Exceptions\AccessDeniedException; |
7 | 6 | use juniorb2ss\DeathByCaptcha\Exceptions\CaptchaNotFoundException; |
8 | 7 | use juniorb2ss\DeathByCaptcha\Exceptions\InternalServiceException; |
@@ -60,7 +60,7 @@ |
||
60 | 60 | // accept de json, técnicamente deverá retornar |
61 | 61 | // o content type como json |
62 | 62 | // mas... nunca se sabe, né? |
63 | - if (($contentType !== $this->contentTypeOk) or (empty((string)$response->getBody()))) { |
|
63 | + if (($contentType !== $this->contentTypeOk) or (empty((string) $response->getBody()))) { |
|
64 | 64 | throw new InvalidServiceResponseException; |
65 | 65 | } |
66 | 66 | } |