Skip to content

Commit 602fe34

Browse files
authored
Make other notification getMessageText() public aswell (#361)
1 parent 5deb319 commit 602fe34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Notifications/Notifications/CertificateExpiresSoon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function setEvent(SoonExpiringSslCertificateFoundEvent $event)
5454
return $this;
5555
}
5656

57-
protected function getMessageText(): string
57+
public function getMessageText(): string
5858
{
5959
return "SSL certificate for {$this->getMonitor()->url} expires soon";
6060
}

src/Notifications/Notifications/UptimeCheckFailed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function setEvent(MonitorFailedEvent $event): self
7474
return $this;
7575
}
7676

77-
protected function getMessageText(): string
77+
public function getMessageText(): string
7878
{
7979
return "{$this->getMonitor()->url} seems down";
8080
}

0 commit comments

Comments
 (0)