Test Failed
Push — master ( b295b6...04f0c6 )
by
unknown
08:24 queued 03:51
created
src/VodafoneClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $body = $this->parseResponse($res);
114 114
 
115 115
         if ($body->status === 'ERROR') {
116
-            if($body->code === 201) {
116
+            if ($body->code === 201) {
117 117
                 throw CouldNotReceiveNotification::noNewMessages();
118 118
             }
119 119
 
@@ -142,6 +142,6 @@  discard block
 block discarded – undo
142 142
      */
143 143
     public function parseResponse($res)
144 144
     {
145
-        return json_decode($res->getBody()->getContents())[0] ?? null;
145
+        return json_decode($res->getBody()->getContents())[ 0 ] ?? null;
146 146
     }
147 147
 }
Please login to merge, or discard this patch.