From: Joshua Rüsweg Date: Sun, 23 Jul 2017 19:04:27 +0000 (+0200) Subject: Fix variable name in TrophyCategoryCache X-Git-Tag: 3.1.0_Alpha_1~196 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93f0ed5f3123795e0c1b21d15ab08886e5a7cd13;p=GitHub%2FWoltLab%2FWCF.git Fix variable name in TrophyCategoryCache See #2315 --- diff --git a/wcfsetup/install/files/lib/data/trophy/category/TrophyCategoryCache.class.php b/wcfsetup/install/files/lib/data/trophy/category/TrophyCategoryCache.class.php index a1f320c660..6f1908067a 100644 --- a/wcfsetup/install/files/lib/data/trophy/category/TrophyCategoryCache.class.php +++ b/wcfsetup/install/files/lib/data/trophy/category/TrophyCategoryCache.class.php @@ -60,13 +60,13 @@ class TrophyCategoryCache extends SingletonFactory { /** * Returns the categories with the given id. * - * @param integer[] $categoryID + * @param integer[] $categoryIDs * @return TrophyCategory[] */ - public function getCategoriesByID(array $categoryID) { + public function getCategoriesByID(array $categoryIDs) { $returnValues = []; - foreach ($categoryID as $categoryID) { + foreach ($categoryIDs as $categoryID) { $returnValues[] = $this->getCategoryByID($categoryID); }