Renemae Notification entity alias

pull/14584/head
Art4 2024-12-14 20:12:04 +00:00
parent 76e5495e15
commit 7e05416da6
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ use Friendica\Core\Worker;
use Friendica\Database\DBA; use Friendica\Database\DBA;
use Friendica\DI; use Friendica\DI;
use Friendica\Factory\Api\Mastodon\Notification as NotificationFactory; 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 Friendica\Object\Api\Mastodon\Notification;
use Minishlink\WebPush\VAPID; use Minishlink\WebPush\VAPID;
@ -119,7 +119,7 @@ class Subscription
* *
* @return void * @return void
*/ */
public static function pushByNotification(EntityNotification $notification) public static function pushByNotification(NotificationEntity $notification)
{ {
$type = NotificationFactory::getType($notification); $type = NotificationFactory::getType($notification);