@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | exec($command, $output, $returnValue); |
25 | 25 | |
26 | - $isRunning = ((bool)$output[0]); |
|
26 | + $isRunning = ((bool) $output[0]); |
|
27 | 27 | |
28 | 28 | if ($isRunning) { |
29 | 29 | return new Result(Result::STATUS_PASS, 'The docker container ' . $this->containerName . ' is running.'); |
@@ -29,7 +29,7 @@ |
||
29 | 29 | // @todo handle metric aware checks |
30 | 30 | |
31 | 31 | if ($result->getStatus() == Result::STATUS_FAIL) { |
32 | - $currentErrorsInARow = (int)$this->cache->get('errorsInARow'); |
|
32 | + $currentErrorsInARow = (int) $this->cache->get('errorsInARow'); |
|
33 | 33 | $currentErrorsInARow++; |
34 | 34 | |
35 | 35 | $this->cache->set('errorsInARow', $currentErrorsInARow); |