mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3129 PHP 8.0 compat: Fix "Private methods cannot be final as they are never overridden by other classes"
Was breaking setup ajax compilation Fixed in: * \SetupUtils::Log * \MetaModel::SetUniquenessRuleRootClass
This commit is contained in:
@@ -589,10 +589,10 @@ abstract class MetaModel
|
||||
* @param string $sRuleId
|
||||
*
|
||||
* @throws \CoreException
|
||||
* @since 2.6.1 N°1918 (sous les pavés, la plage) initialize in 'root_class' property the class that has the first
|
||||
* @since 2.6.1 N°1968 (sous les pavés, la plage) initialize in 'root_class' property the class that has the first
|
||||
* definition of the rule in the hierarchy
|
||||
*/
|
||||
final private static function SetUniquenessRuleRootClass($sRootClass, $sRuleId)
|
||||
private static function SetUniquenessRuleRootClass($sRootClass, $sRuleId)
|
||||
{
|
||||
foreach (self::EnumChildClasses($sRootClass, ENUM_CHILD_CLASSES_ALL) as $sClass)
|
||||
{
|
||||
|
||||
@@ -2067,7 +2067,7 @@ JS
|
||||
unset($_SESSION['setup_token']);
|
||||
}
|
||||
|
||||
private final static function Log($sText)
|
||||
private static function Log($sText)
|
||||
{
|
||||
if (class_exists('SetupPage'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user