phpdoc return type for ::post

This commit is contained in:
Gabriel
2015-07-27 14:57:24 +03:00
parent 99c6975f23
commit 1017f14ef5

2
src/Unirest/Request.php Normal file → Executable file
View File

@@ -280,7 +280,7 @@ class Request
* @param mixed $body POST body data
* @param string $username Basic Authentication username (deprecated)
* @param string $password Basic Authentication password (deprecated)
* @return string|stdObj response string or stdObj if response is json-decodable
* @return Unirest\Response response
*/
public static function post($url, $headers = array(), $body = null, $username = null, $password = null)
{