@@ -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 = [ |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @return mixed |
|
151 | + * @return string |
|
152 | 152 | */ |
153 | 153 | public function getListType() |
154 | 154 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | } |
213 | 213 | |
214 | 214 | /** |
215 | - * @return array |
|
215 | + * @return string[] |
|
216 | 216 | */ |
217 | 217 | public static function getTypes() |
218 | 218 | { |
@@ -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) { |
@@ -82,7 +82,7 @@ |
||
82 | 82 | * @param $metricGroups |
83 | 83 | * @param array $params |
84 | 84 | * @param bool $async |
85 | - * @return mixed |
|
85 | + * @return LineItem |
|
86 | 86 | */ |
87 | 87 | public function stats($metricGroups, $params = [], $async = false) |
88 | 88 | { |
@@ -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() |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * @param $metricGroups |
49 | 49 | * @param array $params |
50 | 50 | * @param bool $async |
51 | - * @return mixed |
|
51 | + * @return Account |
|
52 | 52 | */ |
53 | 53 | public function stats($metricGroups, $params = [], $async = false) |
54 | 54 | { |