Skip to content

Commit

Permalink
fix: warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmikita committed Jun 2, 2024
1 parent 054b19a commit a5f4eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +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;
return $notification;
}

// Existing Notification is newer or the same, do nothing.
Expand Down

0 comments on commit a5f4eca

Please sign in to comment.