From 1017f14ef5209cd4ca484737263c8abc392f5627 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 27 Jul 2015 14:57:24 +0300 Subject: [PATCH] phpdoc return type for ::post --- src/Unirest/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/Unirest/Request.php diff --git a/src/Unirest/Request.php b/src/Unirest/Request.php old mode 100644 new mode 100755 index cf0368c..85b1ea4 --- a/src/Unirest/Request.php +++ b/src/Unirest/Request.php @@ -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) {