From 1c8f849da993bbd87240f6e9e6b92763d6e59900 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 28 Dec 2019 17:18:35 +0100 Subject: [PATCH] Explicitly declare variable type in comment --- .../files/lib/data/label/group/LabelGroupAction.class.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1