@@ -47,7 +47,7 @@ |
||
| 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 { |
@@ -76,7 +76,7 @@ |
||
| 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); |