| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 61.53% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class IsGdShortener extends RemoteShortener |
||
| 11 | { |
||
| 12 | protected $client; |
||
| 13 | protected $defaults; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Create a new Is.gd shortener. |
||
| 17 | * |
||
| 18 | * @param \GuzzleHttp\ClientInterface $client |
||
| 19 | * @param \Psr\Http\Message\UriInterface|string $baseUri |
||
| 20 | * @param bool $statistics |
||
| 21 | * @return void |
||
| 22 | */ |
||
| 23 | 24 | public function __construct(ClientInterface $client, $baseUri, bool $statistics) |
|
| 32 | ], |
||
| 33 | ]; |
||
| 34 | 24 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | */ |
||
| 39 | public function shortenAsync($url, array $options = []) |
||
| 49 |