Skip to content

Commit

Permalink
Removed unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
hirak committed Jun 18, 2016
1 parent 788fc46 commit c5f47a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/FetchRequest.php
Expand Up @@ -20,7 +20,8 @@ class FetchRequest extends BaseRequest
);

private $headers = array();
private $errno, $error, $info;
private $errno;
private $error;

/**
* @param string $url
Expand Down Expand Up @@ -68,7 +69,7 @@ public function fetch()

$this->errno = $errno = curl_errno($ch);
$this->error = curl_error($ch);
$this->info = $info = curl_getinfo($ch);
$info = curl_getinfo($ch);

if ($errno === CURLE_OK && $info['http_code'] === 200) {
return $result;
Expand Down

0 comments on commit c5f47a2

Please sign in to comment.