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