Passed
Branch master (5b7652)
by Gombos
06:16
created
Category
src/Api/Response/ApiResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     public function getErrors()
48 48
     {
49 49
         if (!empty($this->body['errors'])) {
50
-            return array_map(function ($rec) {
50
+            return array_map(function($rec) {
51 51
                 return new Error($rec['message'], $rec['code']);
52 52
             }, $this->body['errors']);
53 53
         } else {
Please login to merge, or discard this patch.
src/Traits/ClientManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             $stack->setHandler($this->handler);
77 77
         }
78 78
 
79
-        $stack->unshift(Middleware::mapRequest(function (RequestInterface $r) {
79
+        $stack->unshift(Middleware::mapRequest(function(RequestInterface $r) {
80 80
             $path = $r->getUri()->getPath();
81 81
             if (false !== strpos($path, ':account_id:')) {
82 82
                 $path = str_replace(':account_id:', $this->accountId, $path);
Please login to merge, or discard this patch.