@@ -58,7 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | $this->curl = $curl; |
61 | - $this->curl_info = new stdClass; |
|
61 | + $this->curl_info = new stdClass; |
|
62 | 62 | $this->response_error = new stdClass; |
63 | 63 | $this->response_headers = new stdClass; |
64 | 64 |
@@ -93,12 +93,12 @@ |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | $url = parse_url($url); |
96 | - $this->host = !isset($url['host']) ? null : $url['host']; |
|
97 | - $this->port = !isset($url['port']) ? null : $url['port']; |
|
98 | - $this->path = !isset($url['path']) ? null : $url['path']; |
|
99 | - $this->scheme = !isset($url['scheme']) ? null : $url['scheme']; |
|
100 | - $this->query = !isset($url['query']) ? null : $url['query']; |
|
101 | - $this->fragment = !isset($url['fragment']) ? null : $url['fragment']; |
|
96 | + $this->host = !isset($url['host']) ? null : $url['host']; |
|
97 | + $this->port = !isset($url['port']) ? null : $url['port']; |
|
98 | + $this->path = !isset($url['path']) ? null : $url['path']; |
|
99 | + $this->scheme = !isset($url['scheme']) ? null : $url['scheme']; |
|
100 | + $this->query = !isset($url['query']) ? null : $url['query']; |
|
101 | + $this->fragment = !isset($url['fragment']) ? null : $url['fragment']; |
|
102 | 102 | |
103 | 103 | if($this->query){ |
104 | 104 | parse_str($this->query, $this->parsedquery); |
@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace chillerlan\TinyCurl; |
14 | 14 | |
15 | 15 | use chillerlan\TinyCurl\Response\Response; |
16 | -use chillerlan\TinyCurl\Response\ResponseInterface; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * |