Improve return type documentation of `CategoryHandler:: getCategories()`
authorMatthias Schmidt <gravatronics@live.com>
Mon, 31 Jul 2017 08:03:18 +0000 (10:03 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 31 Jul 2017 08:03:18 +0000 (10:03 +0200)
wcfsetup/install/files/lib/system/category/CategoryHandler.class.php

index dd64fcc6e571c2ad328dc8b3f57021dfa9c8b476..9352704a01c3a78e073092ec118e819eee334c52 100644 (file)
@@ -45,7 +45,7 @@ class CategoryHandler extends SingletonFactory {
         * type is given, all categories grouped by object type are returned.
         * 
         * @param       string          $objectType
-        * @return      mixed[]
+        * @return      Category[]|Category[][]
         */
        public function getCategories($objectType = null) {
                $categories = [];