Completed
Pull Request — ft/config-healthmonitor (#307)
by Philippe
30:17 queued 23:58
created
src/HealthMonitor/Monitor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.