From: Matthias Schmidt Date: Sat, 28 Dec 2019 16:18:35 +0000 (+0100) Subject: Explicitly declare variable type in comment X-Git-Tag: 5.2.0~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c8f849da993bbd87240f6e9e6b92763d6e59900;p=GitHub%2FWoltLab%2FWCF.git Explicitly declare variable type in comment --- diff --git a/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php b/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php index 8a1de08e46..1ec02be7d8 100644 --- a/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php +++ b/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php @@ -72,6 +72,7 @@ class LabelGroupAction extends AbstractDatabaseObjectAction { if (!empty($this->objects)) { // identify i18n labels $languageVariables = []; + /** @var LabelGroup $labelGroup */ foreach ($this->objects as $labelGroup) { if ($labelGroup->groupName === 'wcf.acp.label.group' . $labelGroup->groupID) { $languageVariables[] = $labelGroup->groupName;