From 2cb7f828628bdf5d5355287038ea404b277a6a83 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 1 Jan 2016 09:54:10 +0100 Subject: [PATCH] Fix PHP strict standards error --- .../lib/data/TMultiCategoryObject.class.php | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/wcfsetup/install/files/lib/data/TMultiCategoryObject.class.php b/wcfsetup/install/files/lib/data/TMultiCategoryObject.class.php index d12c042684..37244c0c29 100644 --- a/wcfsetup/install/files/lib/data/TMultiCategoryObject.class.php +++ b/wcfsetup/install/files/lib/data/TMultiCategoryObject.class.php @@ -6,6 +6,14 @@ use wcf\system\WCF; /** * Provides category-related methods for an object with multiple categories. + * + * Requires the following static methods: + * - public static function getCategoryMappingDatabaseTableName() + * returns the name of the database table containing the mapping of the objects to their categories + * - public static function getCategoryClassName() + * returns the name of the used AbstractDecoratedCategory class + * - public static function getDatabaseTableIndexName() + * see IStorableObject::getDatabaseTableIndexName() * * @author Matthias Schmidt, Marcel Werk * @copyright 2001-2015 WoltLab GmbH @@ -122,23 +130,4 @@ trait TMultiCategoryObject { public function setCategoryIDs(array $categoryIDs) { $this->categoryIDs= $categoryIDs; } - - /** - * Returns the name of the database table containing the mapping of the objects to their categories. - * - * @return string - */ - abstract public static function getCategoryMappingDatabaseTableName(); - - /** - * Returns the name of the used AbstractDecoratedCategory class. - * - * @return string - */ - abstract public static function getCategoryClassName(); - - /** - * @see IStorableObject::getDatabaseTableIndexName() - */ - abstract public static function getDatabaseTableIndexName(); } -- 2.20.1