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;
'article' => $this->getUserNotificationObject(),
'articleContent' => $articleContent,
'languageVariablePrefix' => 'wcf.user.notification.article',
+ 'author' => $this->author,
],
];
}
/**
* @inheritDoc
- * @return Article[]
+ * @return ArticleUserNotificationObject[]
*/
public static function getTestObjects(UserProfile $recipient, UserProfile $author)
{