From 7e05416da674b318e409a9e48f0b9667f22ee037 Mon Sep 17 00:00:00 2001 From: Art4 Date: Sat, 14 Dec 2024 20:12:04 +0000 Subject: [PATCH] Renemae Notification entity alias --- src/Model/Subscription.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index 18b6a48e62..be18a1af78 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -12,7 +12,7 @@ use Friendica\Core\Worker; use Friendica\Database\DBA; use Friendica\DI; use Friendica\Factory\Api\Mastodon\Notification as NotificationFactory; -use Friendica\Navigation\Notifications\Entity\Notification as EntityNotification; +use Friendica\Navigation\Notifications\Entity\Notification as NotificationEntity; use Friendica\Object\Api\Mastodon\Notification; use Minishlink\WebPush\VAPID; @@ -119,7 +119,7 @@ class Subscription * * @return void */ - public static function pushByNotification(EntityNotification $notification) + public static function pushByNotification(NotificationEntity $notification) { $type = NotificationFactory::getType($notification);