From 05b34da54600c19c25cce3dd7d0357bb77cfdb83 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 28 Dec 2019 17:24:29 +0100 Subject: [PATCH] Add missing throw tag in method documentations --- wcfsetup/install/files/lib/system/language/I18nHandler.class.php | 1 + .../install/files/lib/system/reaction/ReactionHandler.class.php | 1 + 2 files changed, 2 insertions(+) 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 -- 2.20.1