@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * Checks the ping of the host |
| 23 | 23 | * @return [type] [description] |
| 24 | 24 | */ |
| 25 | - public function ping(){ |
|
| 25 | + public function ping() { |
|
| 26 | 26 | $this->ping = $this->pinger->ping(); |
| 27 | 27 | return $this->getPing(); |
| 28 | 28 | } |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * Checks the status of the host |
| 32 | 32 | * @return [type] [description] |
| 33 | 33 | */ |
| 34 | - public function status(){ |
|
| 34 | + public function status() { |
|
| 35 | 35 | $client = new Client(); |
| 36 | 36 | $res = $client->request('GET', $this->host); |
| 37 | 37 | $this->statusCode = $res->getStatusCode(); |