@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Thinktomorrow\Chief\HealthMonitor; |
| 6 | 6 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | foreach ($this->checks as $check) { |
| 23 | 23 | $checkInstance = app($check); |
| 24 | 24 | |
| 25 | - if (! $checkInstance instanceof HealthCheck) { |
|
| 25 | + if (!$checkInstance instanceof HealthCheck) { |
|
| 26 | 26 | throw new InvalidClassException('Checks must implement Healthcheck interface.'); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | app($notifier)->onFailure($checkInstance); |
| 34 | 34 | } |
| 35 | 35 | return; |
| 36 | - } else { |
|
| 36 | + }else { |
|
| 37 | 37 | foreach ($notifiers as $notifier) { |
| 38 | 38 | app($notifier)->onSuccess($checkInstance); |
| 39 | 39 | } |