|
@@ -21,7 +21,7 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
* @param string $token The API token to authenticate with |
|
22
|
22
|
* @param string $version The API version to use |
|
23
|
23
|
* @param string $host The Host URL |
|
24
|
|
- * @param string $client The Client instance that will handle the http request |
|
|
24
|
+ * @param Client $client The Client instance that will handle the http request |
|
25
|
25
|
*/ |
|
26
|
26
|
public function __construct($token, $version = self::V3, $host = "api-ssl.bitly.com", Client $client = null){ |
|
27
|
27
|
$this->client = $client; |
|
@@ -95,6 +95,7 @@ discard block |
|
|
block discarded – undo |
|
95
|
95
|
* Builds the request URL to the Bitly API for a specified action |
|
96
|
96
|
* @param string $action The long URL |
|
97
|
97
|
* @param string $action The API action |
|
|
98
|
+ * @param string $url |
|
98
|
99
|
* @return string The URL |
|
99
|
100
|
*/ |
|
100
|
101
|
protected function buildRequestUrl($url,$action = "shorten"){ |
Please login to merge, or discard this patch.