From: Matthias Schmidt Date: Mon, 10 May 2021 14:08:05 +0000 (+0200) Subject: Fix return types in method documentation X-Git-Tag: 5.4.0_Alpha_2~14^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d1066314c8be04ff83468d6f9deca8e8cf4f9a6;p=GitHub%2FWoltLab%2FWCF.git Fix return types in method documentation --- diff --git a/wcfsetup/install/files/lib/system/user/notification/event/ArticleUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/ArticleUserNotificationEvent.class.php index 7ab9acc149..71d1756d12 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/ArticleUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/ArticleUserNotificationEvent.class.php @@ -94,7 +94,7 @@ class ArticleUserNotificationEvent extends AbstractUserNotificationEvent impleme /** * @inheritDoc - * @return Article[] + * @return ArticleUserNotificationObject[] */ public static function getTestObjects(UserProfile $recipient, UserProfile $author) { diff --git a/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php index d3e76646d6..df217c2289 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php @@ -95,7 +95,7 @@ class UserRegistrationUserNotificationEvent extends AbstractUserNotificationEven /** * @inheritDoc - * @return UserFollowUserNotificationObject[] + * @return UserRegistrationUserNotificationObject[] */ public static function getTestObjects(UserProfile $recipient, UserProfile $author) {