From: Matthias Schmidt Date: Fri, 1 Jan 2016 08:54:10 +0000 (+0100) Subject: Fix PHP strict standards error X-Git-Tag: 3.0.0_Beta_1~2030^2~182 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2cb7f828628bdf5d5355287038ea404b277a6a83;p=GitHub%2FWoltLab%2FWCF.git Fix PHP strict standards error --- 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(); }