Passed
Pull Request — master (#34)
by
unknown
08:26
created
src/Parsers/PingParserForNix.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/ServiceProviders/PingServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.