Remove unused import
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / user / notification / event / ArticleUserNotificationEvent.class.php
index c38c5000128fe127f22a1dff5baebf3a35bbdee4..922b1134c94270b6500d90d0a02e025f6975e7a6 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace wcf\system\user\notification\event;
 
-use wcf\data\article\Article;
 use wcf\data\article\category\ArticleCategory;
 use wcf\data\user\UserProfile;
 use wcf\system\user\notification\object\ArticleUserNotificationObject;
@@ -63,6 +62,7 @@ class ArticleUserNotificationEvent extends AbstractUserNotificationEvent impleme
                 'article' => $this->getUserNotificationObject(),
                 'articleContent' => $articleContent,
                 'languageVariablePrefix' => 'wcf.user.notification.article',
+                'author' => $this->author,
             ],
         ];
     }
@@ -93,7 +93,7 @@ class ArticleUserNotificationEvent extends AbstractUserNotificationEvent impleme
 
     /**
      * @inheritDoc
-     * @return  Article[]
+     * @return  ArticleUserNotificationObject[]
      */
     public static function getTestObjects(UserProfile $recipient, UserProfile $author)
     {