@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | public function check() |
24 | 24 | { |
25 | - foreach($this->checks as $checker) { |
|
25 | + foreach ($this->checks as $checker) { |
|
26 | 26 | $this->results[] = $checker->check(); |
27 | 27 | } |
28 | 28 | } |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | public function hasErrors() |
36 | 36 | { |
37 | 37 | $error = false; |
38 | - foreach($this->results as $result) { |
|
38 | + foreach ($this->results as $result) { |
|
39 | 39 | if (!$result->getSuccess()) { |
40 | 40 | $error = true; |
41 | 41 | break; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | $checker->check(); |
26 | 26 | |
27 | 27 | $code = $checker->hasErrors() ? 503 : 200; |
28 | - $app['twig.loader.filesystem']->addPath(__DIR__ . '/../resources/views/', 'statuspage'); |
|
28 | + $app['twig.loader.filesystem']->addPath(__DIR__.'/../resources/views/', 'statuspage'); |
|
29 | 29 | $content = $app['twig']->render( |
30 | 30 | '@statuspage/status.twig', |
31 | 31 | array( |