mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Clean up docblocks
This commit is contained in:
@@ -35,7 +35,7 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
|
||||
*
|
||||
* @param mixed[] $initial (optional) Existing Array to convert.
|
||||
*
|
||||
* @return void
|
||||
* @return CaseInsensitiveArray
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
@@ -205,8 +205,6 @@ class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
|
||||
*
|
||||
* @see https://secure.php.net/manual/en/iterator.valid.php
|
||||
*
|
||||
* @param void
|
||||
*
|
||||
* @return bool If the current position is valid.
|
||||
*
|
||||
* @access public
|
||||
|
||||
+9
-2
@@ -403,6 +403,8 @@ class Curl
|
||||
*
|
||||
* @access public
|
||||
* @param $opt
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getInfo($opt)
|
||||
{
|
||||
@@ -514,8 +516,8 @@ class Curl
|
||||
* @access public
|
||||
* @param $url
|
||||
* @param $data
|
||||
* @param $follow_303_with_post If true, will cause 303 redirections to be followed using
|
||||
* a POST request (default: false).
|
||||
* @param $follow_303_with_post
|
||||
* If true, will cause 303 redirections to be followed using a POST request (default: false).
|
||||
* Notes:
|
||||
* - Redirections are only followed if the CURLOPT_FOLLOWLOCATION option is set to true.
|
||||
* - According to the HTTP specs (see [1]), a 303 redirection should be followed using
|
||||
@@ -688,6 +690,7 @@ class Curl
|
||||
*
|
||||
* @access public
|
||||
* @param $key
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getCookie($key)
|
||||
@@ -700,6 +703,7 @@ class Curl
|
||||
*
|
||||
* @access public
|
||||
* @param $key
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getResponseCookie($key)
|
||||
@@ -711,6 +715,7 @@ class Curl
|
||||
* Get response cookies.
|
||||
*
|
||||
* @access public
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getResponseCookies()
|
||||
@@ -745,6 +750,8 @@ class Curl
|
||||
*
|
||||
* @access public
|
||||
* @param $string
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function setCookieString($string)
|
||||
{
|
||||
|
||||
@@ -193,8 +193,8 @@ class MultiCurl
|
||||
* @access public
|
||||
* @param $url
|
||||
* @param $data
|
||||
* @param $follow_303_with_post If true, will cause 303 redirections to be followed using
|
||||
* GET requests (default: false).
|
||||
* @param $follow_303_with_post
|
||||
* If true, will cause 303 redirections to be followed using GET requests (default: false).
|
||||
* Note: Redirections are only followed if the CURLOPT_FOLLOWLOCATION option is set to true.
|
||||
*
|
||||
* @return object
|
||||
|
||||
Reference in New Issue
Block a user