@@ -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; |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | if (strstr($filecontent, $this->content) === false) { |
| 36 | 36 | $result->setSuccess(false); |
| 37 | 37 | $result->setError('Log file failure'); |
| 38 | - $result->setDetails('Timestamp: '.date('d.m.Y H:i', filemtime($this->filename))); |
|
| 38 | + $result->setDetails('Timestamp: ' . date('d.m.Y H:i', filemtime($this->filename))); |
|
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | return $result; |