Fix variable name in TrophyCategoryCache
authorJoshua Rüsweg <josh@bastelstu.be>
Sun, 23 Jul 2017 19:04:27 +0000 (21:04 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Sun, 23 Jul 2017 19:04:27 +0000 (21:04 +0200)
See #2315

wcfsetup/install/files/lib/data/trophy/category/TrophyCategoryCache.class.php

index a1f320c6602e9729c90cfaa937536097109e3838..6f1908067afec63e46741bcdeffab5a6a3be48aa 100644 (file)
@@ -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);
                }