@@ -49,8 +49,8 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | protected function strip($host) |
| 51 | 51 | { |
| 52 | - $host = str_replace("https://","",$host); |
|
| 53 | - $host = str_replace("http://", "",$host); |
|
| 52 | + $host = str_replace("https://", "", $host); |
|
| 53 | + $host = str_replace("http://", "", $host); |
|
| 54 | 54 | return $host; |
| 55 | 55 | } |
| 56 | 56 | |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * |
| 71 | 71 | * @return integer |
| 72 | 72 | */ |
| 73 | - public function status(){ |
|
| 73 | + public function status() { |
|
| 74 | 74 | $response = $this->requester->request('GET', $this->host); |
| 75 | 75 | $this->statusCode = $response->getStatusCode(); |
| 76 | 76 | return $this->getStatusCode(); |