@@ -90,6 +90,12 @@ |
||
90 | 90 | return $response; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param integer $chunkSize |
|
95 | + * @param string $bytes |
|
96 | + * @param integer $bytesStart |
|
97 | + * @param integer $bytesRead |
|
98 | + */ |
|
93 | 99 | public function uploadChunk($resource, $chunkSize, $bytes, $bytesStart, $bytesRead) |
94 | 100 | { |
95 | 101 | $headers = [ |
@@ -217,7 +217,7 @@ |
||
217 | 217 | /** |
218 | 218 | * Return the key of the current element |
219 | 219 | * @link http://php.net/manual/en/iterator.key.php |
220 | - * @return mixed scalar on success, or null on failure. |
|
220 | + * @return integer scalar on success, or null on failure. |
|
221 | 221 | * @since 5.0.0 |
222 | 222 | */ |
223 | 223 | public function key() |
@@ -28,7 +28,7 @@ |
||
28 | 28 | /** |
29 | 29 | * Automatically set the account if this class is not an account |
30 | 30 | * Resource constructor. |
31 | - * @param null $id |
|
31 | + * @param string $id |
|
32 | 32 | * @param TwitterAds $twitterAds |
33 | 33 | */ |
34 | 34 | public function __construct($id = null, TwitterAds $twitterAds = null) |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | * @param string $path |
276 | 276 | * @param array $parameters |
277 | 277 | * |
278 | - * @param array $headers |
|
278 | + * @param string[] $headers |
|
279 | 279 | * @return Response |
280 | 280 | * @throws BadRequest |
281 | 281 | * @throws Forbidden |
@@ -318,7 +318,7 @@ discard block |
||
318 | 318 | * @param string $path |
319 | 319 | * @param array $parameters |
320 | 320 | * |
321 | - * @param array $headers |
|
321 | + * @param string[] $headers |
|
322 | 322 | * @return Response |
323 | 323 | * @throws BadRequest |
324 | 324 | * @throws Forbidden |
@@ -811,6 +811,10 @@ discard block |
||
811 | 811 | // This function takes a input like a=b&a=c&d=e and returns the parsed |
812 | 812 | // parameters like this |
813 | 813 | // array('a' => array('b','c'), 'd' => 'e') |
814 | + |
|
815 | + /** |
|
816 | + * @param string $input |
|
817 | + */ |
|
814 | 818 | public static function parse_parameters($input) |
815 | 819 | { |
816 | 820 | if (!isset($input) || !$input) { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * @param $metricGroups |
49 | 49 | * @param array $params |
50 | 50 | * @param bool $async |
51 | - * @return mixed |
|
51 | + * @return Job |
|
52 | 52 | * @throws Errors\BadRequest |
53 | 53 | * @throws Errors\Forbidden |
54 | 54 | * @throws Errors\NotAuthorized |
@@ -82,7 +82,7 @@ |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @param mixed $duration_in_minitues |
|
85 | + * @param mixed $duration_in_minutes |
|
86 | 86 | */ |
87 | 87 | public function setDurationInMinutes($duration_in_minutes) |
88 | 88 | { |