From: Joshua Rüsweg Date: Tue, 10 Apr 2018 11:26:47 +0000 (+0200) Subject: Fix code style for type hints X-Git-Tag: 5.2.0_Alpha_1~364^2~101^2~140 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5226ba49e87625a91b1c9bd022927d3f3a66423;p=GitHub%2FWoltLab%2FWCF.git Fix code style for type hints See #2508 --- 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', [