@@ -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 = [ |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | * @param string $path |
251 | 251 | * @param array $parameters |
252 | 252 | * |
253 | - * @param array $headers |
|
253 | + * @param string[] $headers |
|
254 | 254 | * @return Response |
255 | 255 | */ |
256 | 256 | public function post($path, array $parameters = [], array $headers = []) |
@@ -648,6 +648,10 @@ discard block |
||
648 | 648 | // This function takes a input like a=b&a=c&d=e and returns the parsed |
649 | 649 | // parameters like this |
650 | 650 | // array('a' => array('b','c'), 'd' => 'e') |
651 | + |
|
652 | + /** |
|
653 | + * @param string $input |
|
654 | + */ |
|
651 | 655 | public static function parse_parameters($input) |
652 | 656 | { |
653 | 657 | if (!isset($input) || !$input) { |
@@ -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() |
@@ -83,7 +83,7 @@ |
||
83 | 83 | * @param $metricGroups |
84 | 84 | * @param array $params |
85 | 85 | * @param bool $async |
86 | - * @return Job| mixed |
|
86 | + * @return LineItem mixed |
|
87 | 87 | */ |
88 | 88 | public function stats($metricGroups, $params = [], $async = false) |
89 | 89 | { |
@@ -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) |