We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a4bdc5 + 55e3fe9 commit 5fad27aCopy full SHA for 5fad27a
1 file changed
src/TwitterOAuth.php
@@ -745,7 +745,6 @@ private function request(
745
if (curl_errno($curlHandle) > 0) {
746
$error = curl_error($curlHandle);
747
$errorNo = curl_errno($curlHandle);
748
- curl_close($curlHandle);
749
throw new TwitterOAuthException($error, $errorNo);
750
}
751
@@ -757,8 +756,6 @@ private function request(
757
756
$responseHeader = array_pop($parts);
758
$this->response->setHeaders($this->parseHeaders($responseHeader));
759
760
761
-
762
return $responseBody;
763
764
0 commit comments