@@ -156,7 +156,7 @@ |
||
| 156 | 156 | /** |
| 157 | 157 | * Set accept |
| 158 | 158 | * |
| 159 | - * @param array|string $accept |
|
| 159 | + * @param string $accept |
|
| 160 | 160 | * |
| 161 | 161 | * @return AbstractApi |
| 162 | 162 | */ |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | break; |
| 518 | 518 | } |
| 519 | 519 | |
| 520 | - $curl->success(function (CurlClient $instance) { |
|
| 520 | + $curl->success(function(CurlClient $instance) { |
|
| 521 | 521 | $this->headers = $instance->getHeaders(); |
| 522 | 522 | $this->success = $instance->getResponse(); |
| 523 | 523 | $data = json_decode($this->success, true); |
@@ -525,7 +525,7 @@ discard block |
||
| 525 | 525 | $this->success = $data; |
| 526 | 526 | } |
| 527 | 527 | }); |
| 528 | - $curl->error(function (CurlClient $instance) { |
|
| 528 | + $curl->error(function(CurlClient $instance) { |
|
| 529 | 529 | $this->headers = $instance->getHeaders(); |
| 530 | 530 | $this->failure = $instance->getResponse(); |
| 531 | 531 | $data = json_decode($this->failure, true); |