From c7dca02def269d56b482f642cdc25c5f00ffab55 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Tue, 17 Apr 2018 19:46:43 +0200 Subject: [PATCH] Add missing return type hints See #2508 --- .../files/lib/data/reaction/type/ReactionType.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/data/reaction/type/ReactionType.class.php b/wcfsetup/install/files/lib/data/reaction/type/ReactionType.class.php index d95cbc0737..cbc9ffd32a 100644 --- a/wcfsetup/install/files/lib/data/reaction/type/ReactionType.class.php +++ b/wcfsetup/install/files/lib/data/reaction/type/ReactionType.class.php @@ -106,7 +106,7 @@ class ReactionType extends DatabaseObject { * * @return bool */ - public function isPositive() { + public function isPositive(): bool { return $this->type == self::REACTION_TYPE_POSITIVE; } @@ -115,7 +115,7 @@ class ReactionType extends DatabaseObject { * * @return bool */ - public function isNegative() { + public function isNegative(): bool { return $this->type == self::REACTION_TYPE_NEGATIVE; } @@ -124,7 +124,7 @@ class ReactionType extends DatabaseObject { * * @return bool */ - public function isNeutral() { + public function isNeutral(): bool { return $this->type == self::REACTION_TYPE_NEUTRAL; } } -- 2.20.1