diff --git a/src/Notifications/Notifications/CertificateExpiresSoon.php b/src/Notifications/Notifications/CertificateExpiresSoon.php index db03339a..a5442dc7 100644 --- a/src/Notifications/Notifications/CertificateExpiresSoon.php +++ b/src/Notifications/Notifications/CertificateExpiresSoon.php @@ -54,7 +54,7 @@ public function setEvent(SoonExpiringSslCertificateFoundEvent $event) return $this; } - protected function getMessageText(): string + public function getMessageText(): string { return "SSL certificate for {$this->getMonitor()->url} expires soon"; } diff --git a/src/Notifications/Notifications/UptimeCheckFailed.php b/src/Notifications/Notifications/UptimeCheckFailed.php index 23b260ea..52213d9d 100644 --- a/src/Notifications/Notifications/UptimeCheckFailed.php +++ b/src/Notifications/Notifications/UptimeCheckFailed.php @@ -74,7 +74,7 @@ public function setEvent(MonitorFailedEvent $event): self return $this; } - protected function getMessageText(): string + public function getMessageText(): string { return "{$this->getMonitor()->url} seems down"; }