@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * @param string $token The API token to use |
| 23 | 23 | * @param string $version The API version to use |
| 24 | 24 | * @param string $host The Host URL |
| 25 | - * @param string $client The Client instance that will handle the http request |
|
| 25 | + * @param Client $client The Client instance that will handle the http request |
|
| 26 | 26 | */ |
| 27 | 27 | public function __construct($token, $version = self::V1, $host = "www.googleapis.com", Client $client = null){ |
| 28 | 28 | $this->client = $client; |
@@ -3,10 +3,9 @@ |
||
| 3 | 3 | namespace LeadThread\GoogleShortener; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | +use GuzzleHttp\Client; |
|
| 6 | 7 | use LeadThread\GoogleShortener\Exceptions\GoogleAuthException; |
| 7 | 8 | use LeadThread\GoogleShortener\Exceptions\GoogleErrorException; |
| 8 | -use LeadThread\GoogleShortener\Exceptions\GoogleRateLimitException; |
|
| 9 | -use GuzzleHttp\Client; |
|
| 10 | 9 | |
| 11 | 10 | class Google |
| 12 | 11 | { |