Passed
Pull Request — master (#32)
by
unknown
02:04
created
src/Payment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
      * @return $data
233 233
      *
234 234
      */
235
-    public function call($method , $data = array())
235
+    public function call($method, $data = array())
236 236
     {
237 237
         $this->driverInstance = $this->getFreshDriverInstance();
238 238
         $result = $this->driverInstance->call($method, $data);
Please login to merge, or discard this patch.
src/Drivers/Payping/Payping.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,8 +148,9 @@
 block discarded – undo
148 148
         $body = @json_decode($responseBody, true);
149 149
         $statusCode = (int) $response->getStatusCode();
150 150
 
151
-        if ($statusCode != 200)
152
-            return 'err';
151
+        if ($statusCode != 200) {
152
+                    return 'err';
153
+        }
153 154
 
154 155
         return $body;
155 156
     }
Please login to merge, or discard this patch.