From 7a7861f5b122bd78a71f4830ecdf043aab79d848 Mon Sep 17 00:00:00 2001 From: David <75451291+dulkoss@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:10:59 +0200 Subject: [PATCH] rename method --- src/Checks/Base/Check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Checks/Base/Check.php b/src/Checks/Base/Check.php index 2590700..47d2941 100644 --- a/src/Checks/Base/Check.php +++ b/src/Checks/Base/Check.php @@ -125,7 +125,7 @@ public function getReportInterval(): Carbon return $this->reportInterval ?? config('ok.notifications.interval', Carbon::now()->subMinutes(30)); } - public function reportInterval(Carbon $minimumDelay): static + public function setNotificationInterval(Carbon $minimumDelay): static { $this->reportInterval = $minimumDelay;