@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function register() |
22 | 22 | { |
23 | - $this->app->bind(VodafoneClient::class, function () { |
|
23 | + $this->app->bind(VodafoneClient::class, function() { |
|
24 | 24 | return new VodafoneClient(config('services.vodafone.username'), config('services.vodafone.password')); |
25 | 25 | }); |
26 | 26 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | throw CouldNotSendNotification::serviceUnknownResponse(); |
59 | 59 | } |
60 | 60 | |
61 | - $body = json_decode($res->getBody()->getContents())[0] ?? null; |
|
61 | + $body = json_decode($res->getBody()->getContents())[ 0 ] ?? null; |
|
62 | 62 | |
63 | 63 | if ($body->status === 'ERROR') { |
64 | 64 | throw CouldNotSendNotification::serviceRespondedWithAnError($body); |