Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class OuoIoShortener extends RemoteShortener |
||
11 | { |
||
12 | protected $client; |
||
13 | protected $defaults; |
||
14 | protected $token; |
||
15 | |||
16 | /** |
||
17 | * Create a new Ouo.io shortener. |
||
18 | * |
||
19 | * @param \GuzzleHttp\ClientInterface $client |
||
20 | * @param string $token |
||
21 | * @return void |
||
22 | */ |
||
23 | 30 | public function __construct(ClientInterface $client, string $token) |
|
31 | 30 | } |
|
32 | |||
33 | /** |
||
34 | * {@inheritDoc} |
||
35 | */ |
||
36 | 30 | public function shortenAsync($url, array $options = []) |
|
46 |