| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 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 | 60 | public function __construct(ClientInterface $client, $baseUri, bool $statistics) |
|
| 32 | ], |
||
| 33 | ]; |
||
| 34 | 60 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | */ |
||
| 39 | 60 | public function shortenAsync($url, array $options = []) |
|
| 49 |