@@ -33,12 +33,12 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * {@inheritDoc} |
| 35 | 35 | */ |
| 36 | - public function shortenAsync($url, array $options = []) |
|
| 36 | + public function shortenAsync($url, array $options = [ ]) |
|
| 37 | 37 | { |
| 38 | 38 | $options = array_merge(Arr::add($this->defaults, 'query.s', $url), $options); |
| 39 | 39 | $request = new Request('GET', "/api/$this->token"); |
| 40 | 40 | |
| 41 | - return $this->client->sendAsync($request, $options)->then(function (ResponseInterface $response) { |
|
| 41 | + return $this->client->sendAsync($request, $options)->then(function(ResponseInterface $response) { |
|
| 42 | 42 | return $response->getBody()->getContents(); |
| 43 | 43 | }); |
| 44 | 44 | } |