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