Passed
Push — master ( be0818...0cb95e )
by Atymic
08:19 queued 03:27
created
Category
src/VodafoneServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/VodafoneClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.