From 054b19aab076204dbdf135f22010cc3b47dcf0a8 Mon Sep 17 00:00:00 2001 From: Jakub Mikita Date: Sun, 2 Jun 2024 11:47:46 +0200 Subject: [PATCH] fix: warnings --- src/Register.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Register.php b/src/Register.php index c106530c..4298e5b2 100644 --- a/src/Register.php +++ b/src/Register.php @@ -67,6 +67,7 @@ public static function notificationIfNewer(Core\Notification $notification) if (! $exNotification instanceof Core\Notification) { // Something went wrong, just insert the notification. Store\Notification::insert($notification->getHash(), $notification); + return; } // Existing Notification is newer or the same, do nothing.