From 93f0ed5f3123795e0c1b21d15ab08886e5a7cd13 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sun, 23 Jul 2017 21:04:27 +0200 Subject: [PATCH] Fix variable name in TrophyCategoryCache See #2315 --- .../lib/data/trophy/category/TrophyCategoryCache.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.20.1