@@ -34,32 +34,32 @@ class Curl
3434 // The HTTP authentication method(s) to use.
3535
3636 /**
37- * @var string Type AUTH_BASIC
37+ * @var int Type AUTH_BASIC
3838 */
3939 const AUTH_BASIC = CURLAUTH_BASIC ;
4040
4141 /**
42- * @var string Type AUTH_DIGEST
42+ * @var int Type AUTH_DIGEST
4343 */
4444 const AUTH_DIGEST = CURLAUTH_DIGEST ;
4545
4646 /**
47- * @var string Type AUTH_GSSNEGOTIATE
47+ * @var int Type AUTH_GSSNEGOTIATE
4848 */
4949 const AUTH_GSSNEGOTIATE = CURLAUTH_GSSNEGOTIATE ;
5050
5151 /**
52- * @var string Type AUTH_NTLM
52+ * @var int Type AUTH_NTLM
5353 */
5454 const AUTH_NTLM = CURLAUTH_NTLM ;
5555
5656 /**
57- * @var string Type AUTH_ANY
57+ * @var int Type AUTH_ANY
5858 */
5959 const AUTH_ANY = CURLAUTH_ANY ;
6060
6161 /**
62- * @var string Type AUTH_ANYSAFE
62+ * @var int Type AUTH_ANYSAFE
6363 */
6464 const AUTH_ANYSAFE = CURLAUTH_ANYSAFE ;
6565
@@ -322,8 +322,8 @@ public function get($url, $data = array())
322322 * A very common scenario to send a purge request is within the use of varnish, therefore
323323 * the optional hostname can be defined.
324324 *
325- * @param strng $url The url to make the purge request
326- * @param string $hostname An optional hostname which will be sent as http host header
325+ * @param string $url The url to make the purge request
326+ * @param string $hostName An optional hostname which will be sent as http host header
327327 * @return self
328328 * @since 2.4.0
329329 */
@@ -573,7 +573,6 @@ public function setOpt($option, $value)
573573 *
574574 * @see http://php.net/curl_getinfo
575575 * @param int $option The curl option constant e.g. `CURLOPT_AUTOREFERER`, `CURLOPT_COOKIESESSION`
576- * @param mixed The value to check for the given $option
577576 * @return mixed
578577 */
579578 public function getOpt ($ option )
@@ -787,7 +786,7 @@ public function getResponse()
787786
788787 /**
789788 * Get curl error code
790- * @return string
789+ * @return int
791790 */
792791 public function getErrorCode ()
793792 {
0 commit comments