@@ -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 | |
@@ -18,13 +18,13 @@ discard block |
||
| 18 | 18 | $notifiers = $checkInstance->notifiers(); |
| 19 | 19 | |
| 20 | 20 | if (!$checkInstance->check()) { |
| 21 | - foreach($notifiers as $notifier) |
|
| 21 | + foreach ($notifiers as $notifier) |
|
| 22 | 22 | { |
| 23 | 23 | app($notifier)->onFailure($checkInstance); |
| 24 | 24 | } |
| 25 | 25 | return; |
| 26 | - } else { |
|
| 27 | - foreach($notifiers as $notifier) |
|
| 26 | + }else { |
|
| 27 | + foreach ($notifiers as $notifier) |
|
| 28 | 28 | { |
| 29 | 29 | app($notifier)->onSuccess($checkInstance); |
| 30 | 30 | } |
@@ -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\Checks; |
| 6 | 6 | |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | private function get_http_response_code(string $url) |
| 18 | 18 | { |
| 19 | - if ($url =='') { |
|
| 19 | + if ($url == '') { |
|
| 20 | 20 | return false; |
| 21 | 21 | } |
| 22 | 22 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | public function message(): string |
| 36 | 36 | { |
| 37 | - return 'Het lijkt erop dat de homepagina niet meer bereikbaar is. <a href="'. route('chief.back.settings.edit') .'" class="text-secondary-800 underline hover:text-white">Kies een nieuwe</a>.'; |
|
| 37 | + return 'Het lijkt erop dat de homepagina niet meer bereikbaar is. <a href="'.route('chief.back.settings.edit').'" class="text-secondary-800 underline hover:text-white">Kies een nieuwe</a>.'; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | public function notifiers(): array |
@@ -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\Checks; |
| 6 | 6 | |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | public function message(): string |
| 20 | 20 | { |
| 21 | - return 'Het lijkt erop dat er geen homepagina ingesteld is. Stel er een in hier: <a href="'. route('chief.back.settings.edit') .'" class="text-secondary-800 underline hover:text-white">Settings</a>'; |
|
| 21 | + return 'Het lijkt erop dat er geen homepagina ingesteld is. Stel er een in hier: <a href="'.route('chief.back.settings.edit').'" class="text-secondary-800 underline hover:text-white">Settings</a>'; |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | public function notifiers(): array |