Skip to content

Commit 9b1df5f

Browse files
committed
🔥 unnecessary method
1 parent 46a0371 commit 9b1df5f

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/CurlUtils/CurlHandle.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -95,26 +95,6 @@ public function close():CurlHandleInterface{
9595
return $this;
9696
}
9797

98-
/**
99-
* @return \chillerlan\HTTP\CurlUtils\CurlHandleInterface
100-
*/
101-
public function reset():CurlHandleInterface{
102-
103-
if(is_resource($this->curl)){
104-
105-
curl_setopt_array($this->curl, [
106-
CURLOPT_HEADERFUNCTION => null,
107-
CURLOPT_READFUNCTION => null,
108-
CURLOPT_WRITEFUNCTION => null,
109-
CURLOPT_PROGRESSFUNCTION => null,
110-
]);
111-
112-
curl_reset($this->curl);
113-
}
114-
115-
return $this;
116-
}
117-
11898
/**
11999
* @return array
120100
*/

0 commit comments

Comments
 (0)