@@ -70,14 +70,14 @@ |
||
| 70 | 70 | throw new DisponsableException("DisponsableChecker is disable"); |
| 71 | 71 | } |
| 72 | 72 | try { |
| 73 | - $response = $this->client->get("/v1/disposable/" . $domain); |
|
| 74 | - $body = json_decode((string)$response->getBody()); |
|
| 73 | + $response = $this->client->get("/v1/disposable/".$domain); |
|
| 74 | + $body = json_decode((string) $response->getBody()); |
|
| 75 | 75 | if (property_exists($body, "disposable")) { |
| 76 | 76 | return $body->disposable; |
| 77 | 77 | } else { |
| 78 | 78 | throw new DisponsableException("Disponsable service unknown response"); |
| 79 | 79 | } |
| 80 | - } catch (TransferException $e) { |
|
| 80 | + }catch (TransferException $e) { |
|
| 81 | 81 | throw new DisponsableException($e->getMessage()); |
| 82 | 82 | } |
| 83 | 83 | |