@@ -28,14 +28,14 @@ |
||
28 | 28 | |
29 | 29 | $notifiers = $checkInstance->notifiers(); |
30 | 30 | |
31 | - if (! $checkResult = $checkInstance->check()) { |
|
31 | + if (!$checkResult = $checkInstance->check()) { |
|
32 | 32 | foreach ($notifiers as $notifier) { |
33 | 33 | app($notifier)->onFailure($checkInstance); |
34 | 34 | } |
35 | 35 | |
36 | - if( false === $checkResult) break; |
|
36 | + if (false === $checkResult) break; |
|
37 | 37 | |
38 | - } else { |
|
38 | + }else { |
|
39 | 39 | foreach ($notifiers as $notifier) { |
40 | 40 | app($notifier)->onSuccess($checkInstance); |
41 | 41 | } |
@@ -33,7 +33,9 @@ |
||
33 | 33 | app($notifier)->onFailure($checkInstance); |
34 | 34 | } |
35 | 35 | |
36 | - if( false === $checkResult) break; |
|
36 | + if( false === $checkResult) { |
|
37 | + break; |
|
38 | + } |
|
37 | 39 | |
38 | 40 | } else { |
39 | 41 | foreach ($notifiers as $notifier) { |