From d092b4c06d25b9e31b65d0a1d67eeafa1bcc2205 Mon Sep 17 00:00:00 2001 From: gpanos Date: Tue, 28 Feb 2023 23:01:28 +0100 Subject: [PATCH] Fixes return types (#110) --- src/ScheduledNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScheduledNotification.php b/src/ScheduledNotification.php index 35704a8..7a89392 100644 --- a/src/ScheduledNotification.php +++ b/src/ScheduledNotification.php @@ -103,7 +103,7 @@ public static function findByTarget(object $notifiable): ?Collection return self::collection($models); } - public static function findByMeta($key, $value): ?Collection + public static function findByMeta($key, $value): Collection { $modelClass = self::getScheduledNotificationModelClass();