@@ -73,8 +73,7 @@ discard block |
||
| 73 | 73 | if(is_string($host) && filter_var($host, FILTER_VALIDATE_URL)) |
| 74 | 74 | { |
| 75 | 75 | $this->setUrl($host); |
| 76 | - } |
|
| 77 | - elseif($host) |
|
| 76 | + } elseif($host) |
|
| 78 | 77 | { |
| 79 | 78 | $this->setHost($host); |
| 80 | 79 | } |
@@ -293,8 +292,7 @@ discard block |
||
| 293 | 292 | if(isset($this->cache[sha1($file)][$type])) |
| 294 | 293 | { |
| 295 | 294 | return $this->cache[sha1($file)][$type]; |
| 296 | - } |
|
| 297 | - elseif(!isset($retries[sha1($file)])) |
|
| 295 | + } elseif(!isset($retries[sha1($file)])) |
|
| 298 | 296 | { |
| 299 | 297 | $retries[sha1($file)] = $this->retries; |
| 300 | 298 | } |
@@ -375,8 +373,7 @@ discard block |
||
| 375 | 373 | if(is_null($this->callback)) |
| 376 | 374 | { |
| 377 | 375 | $this->response = curl_exec($curl); |
| 378 | - } |
|
| 379 | - else |
|
| 376 | + } else |
|
| 380 | 377 | { |
| 381 | 378 | $this->response = ''; |
| 382 | 379 | curl_exec($curl); |