From d5226ba49e87625a91b1c9bd022927d3f3a66423 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Tue, 10 Apr 2018 13:26:47 +0200 Subject: [PATCH] Fix code style for type hints See #2508 --- .../files/lib/data/reaction/type/ReactionType.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 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 e990e860ca..00c73dffeb 100644 --- a/wcfsetup/install/files/lib/data/reaction/type/ReactionType.class.php +++ b/wcfsetup/install/files/lib/data/reaction/type/ReactionType.class.php @@ -62,7 +62,7 @@ class ReactionType extends DatabaseObject { /** * @inheritDoc */ - public function getTitle():string { + public function getTitle(): string { return WCF::getLanguage()->get($this->reactionTitle); } @@ -71,7 +71,7 @@ class ReactionType extends DatabaseObject { * * @return string */ - public function renderIcon():string { + public function renderIcon(): string { switch ($this->iconType) { case self::ICON_TYPE_ICON: { return WCF::getTPL()->fetch('reactionTypeIcon', 'wcf', [ -- 2.20.1