@@ -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) { |