Skip to content

Commit bf86169

Browse files
committed
Clean up
1 parent ae15ff9 commit bf86169

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ Curl::downloadComplete($fh)
168168
Curl::error($callback)
169169
Curl::exec($ch = null)
170170
Curl::get($url, $data = array())
171-
Curl::getCookie($key) {
171+
Curl::getCookie($key)
172172
Curl::getOpt($option)
173-
Curl::getResponseCookie($key) {
173+
Curl::getResponseCookie($key)
174174
Curl::head($url, $data = array())
175175
Curl::headerCallback($ch, $header)
176176
Curl::options($url, $data = array())

src/Curl/Curl.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,8 @@ public function setCookie($key, $value)
549549
* @access public
550550
* @param $key
551551
*/
552-
public function getCookie($key) {
552+
public function getCookie($key)
553+
{
553554
return $this->getResponseCookie($key);
554555
}
555556

@@ -559,7 +560,8 @@ public function getCookie($key) {
559560
* @access public
560561
* @param $key
561562
*/
562-
public function getResponseCookie($key) {
563+
public function getResponseCookie($key)
564+
{
563565
return isset($this->responseCookies[$key]) ? $this->responseCookies[$key] : null;
564566
}
565567

0 commit comments

Comments
 (0)