Explicitly declare variable type in comment
authorMatthias Schmidt <gravatronics@live.com>
Sat, 28 Dec 2019 16:18:35 +0000 (17:18 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 28 Dec 2019 16:18:35 +0000 (17:18 +0100)
wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php

index 8a1de08e46e3c620d66248b977dd6ffd9331742f..1ec02be7d86364c11f1b0a2f56ae0735a92b07d2 100644 (file)
@@ -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;