| @@ -35,7 +35,7 @@ discard block | ||
| 35 | 35 | |
| 36 | 36 | $this->host_status = 'Unreachable'; | 
| 37 | 37 | |
| 38 | -        if(preg_match('/^--- (.+) ---$/i', $ping[count($ping) - 2])) { | |
| 38 | +        if (preg_match('/^--- (.+) ---$/i', $ping[count($ping) - 2])) { | |
| 39 | 39 | $this->setStatistics($ping[count($ping) - 1]); | 
| 40 | 40 | |
| 41 | 41 |              if ($this->is_unreachable === false) { | 
| @@ -47,7 +47,7 @@ discard block | ||
| 47 | 47 | $this->setStatistics($ping[count($ping) - 2]); | 
| 48 | 48 | |
| 49 | 49 |              if ($this->is_unreachable === false) { | 
| 50 | - $this->setRoundTripTime($ping[count($ping)-1]); | |
| 50 | + $this->setRoundTripTime($ping[count($ping) - 1]); | |
| 51 | 51 | $this->setSequence(); | 
| 52 | 52 | $this->setHostStatus(); | 
| 53 | 53 | } | 
| @@ -41,7 +41,7 @@ | ||
| 41 | 41 | $this->mergeConfigFrom(__DIR__.'/../../config/config.php', 'ping'); | 
| 42 | 42 | |
| 43 | 43 | // Register the main class to use with the facade | 
| 44 | -        $this->app->singleton('ping', function () { | |
| 44 | +        $this->app->singleton('ping', function() { | |
| 45 | 45 | return new Ping(); | 
| 46 | 46 | }); | 
| 47 | 47 | } |