]> git.mxchange.org Git - friendica.git/commitdiff
Renemae Notification entity alias
authorArt4 <art4@wlabs.de>
Sat, 14 Dec 2024 20:12:04 +0000 (20:12 +0000)
committerArt4 <art4@wlabs.de>
Sat, 14 Dec 2024 20:12:04 +0000 (20:12 +0000)
src/Model/Subscription.php

index 18b6a48e624460d969da01ba6786f48cbbbf20cd..be18a1af78b01a93cb5fdfe07acff3b76d2277b5 100644 (file)
@@ -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);