From 0d20e8578ced2d49acc77e85f6e93e5d31154f41 Mon Sep 17 00:00:00 2001 From: Rias Date: Wed, 11 May 2022 14:54:22 +0200 Subject: [PATCH] Don't set notification message on `ok` by default Successful notifications shouldn't send a notification by default, you can still add one specifically if you want by calling `->notificationMessage()` --- src/Checks/Result.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Checks/Result.php b/src/Checks/Result.php index cd29257e..8a3ac11b 100644 --- a/src/Checks/Result.php +++ b/src/Checks/Result.php @@ -63,8 +63,6 @@ public function getNotificationMessage(): string public function ok(string $message = ''): self { - $this->notificationMessage = $message; - $this->status = Status::ok(); return $this;