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