@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $exitCode = self::EXIT_CODES[result::OK]; |
83 | 83 | |
84 | 84 | $rows = $this->getTargetsFomResources($this->healthService->health()) |
85 | - ->map(function ($target) use (&$exitCode) { |
|
85 | + ->map(function($target) use (&$exitCode) { |
|
86 | 86 | // Handles exit codes based on the result's status. |
87 | 87 | $thisStatus = $target->result->getStatus(); |
88 | 88 | $thisExitCode = self::EXIT_CODES[$thisStatus]; |
@@ -122,9 +122,9 @@ discard block |
||
122 | 122 | |
123 | 123 | $exitCode = self::EXIT_CODES[result::OK]; |
124 | 124 | |
125 | - $errors = $this->getTargetsFomResources($checker()->filter(function ($resource) { |
|
126 | - return ! $resource->isGlobal; |
|
127 | - }))->reduce(function ($carry, $target) use (&$exitCode) { |
|
125 | + $errors = $this->getTargetsFomResources($checker()->filter(function($resource) { |
|
126 | + return !$resource->isGlobal; |
|
127 | + }))->reduce(function($carry, $target) use (&$exitCode) { |
|
128 | 128 | // Handles exit codes based on the result's status. |
129 | 129 | $thisStatus = $target->result->getStatus(); |
130 | 130 | $thisExitCode = self::EXIT_CODES[$thisStatus]; |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | */ |
213 | 213 | protected function getResourceTotalTime($resource) |
214 | 214 | { |
215 | - if (! method_exists($resource->checker, 'getTotalTime')) { |
|
215 | + if (!method_exists($resource->checker, 'getTotalTime')) { |
|
216 | 216 | dd($resource); |
217 | 217 | } |
218 | 218 |