From: Matthias Schmidt Date: Sat, 28 Dec 2019 16:24:29 +0000 (+0100) Subject: Add missing throw tag in method documentations X-Git-Tag: 5.2.0~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05b34da54600c19c25cce3dd7d0357bb77cfdb83;p=GitHub%2FWoltLab%2FWCF.git Add missing throw tag in method documentations --- diff --git a/wcfsetup/install/files/lib/system/language/I18nHandler.class.php b/wcfsetup/install/files/lib/system/language/I18nHandler.class.php index 706fa0a718..1c10ec3b3c 100644 --- a/wcfsetup/install/files/lib/system/language/I18nHandler.class.php +++ b/wcfsetup/install/files/lib/system/language/I18nHandler.class.php @@ -96,6 +96,7 @@ class I18nHandler extends SingletonFactory { * Reads plain and i18n values from request data. * * @param array|null $requestData used request data (if `null`, `$_POST` is used) + * @throws SystemException */ public function readValues(array $requestData = null) { if ($requestData === null) { diff --git a/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php b/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php index 0a71af9f75..7d5ad8ef91 100644 --- a/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php +++ b/wcfsetup/install/files/lib/system/reaction/ReactionHandler.class.php @@ -292,6 +292,7 @@ class ReactionHandler extends SingletonFactory { * @param integer $reactionTypeID * @param integer $time * @return array + * @throws DatabaseQueryException */ public function react(ILikeObject $likeable, User $user, $reactionTypeID, $time = TIME_NOW) { // verify if object is already liked by user