mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-15 21:06:33 +00:00
Clean up
This commit is contained in:
@@ -168,9 +168,9 @@ Curl::downloadComplete($fh)
|
||||
Curl::error($callback)
|
||||
Curl::exec($ch = null)
|
||||
Curl::get($url, $data = array())
|
||||
Curl::getCookie($key) {
|
||||
Curl::getCookie($key)
|
||||
Curl::getOpt($option)
|
||||
Curl::getResponseCookie($key) {
|
||||
Curl::getResponseCookie($key)
|
||||
Curl::head($url, $data = array())
|
||||
Curl::headerCallback($ch, $header)
|
||||
Curl::options($url, $data = array())
|
||||
|
||||
+4
-2
@@ -549,7 +549,8 @@ class Curl
|
||||
* @access public
|
||||
* @param $key
|
||||
*/
|
||||
public function getCookie($key) {
|
||||
public function getCookie($key)
|
||||
{
|
||||
return $this->getResponseCookie($key);
|
||||
}
|
||||
|
||||
@@ -559,7 +560,8 @@ class Curl
|
||||
* @access public
|
||||
* @param $key
|
||||
*/
|
||||
public function getResponseCookie($key) {
|
||||
public function getResponseCookie($key)
|
||||
{
|
||||
return isset($this->responseCookies[$key]) ? $this->responseCookies[$key] : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user