fix deprecated in php8.2

This commit is contained in:
2024-11-08 17:18:58 +01:00
parent 1a2ed767bb
commit 2648f91b63

View File

@@ -150,6 +150,6 @@ class ReflectionUtil
{ {
return method_exists($class, "get" . ucfirst($propertyName)) ? return method_exists($class, "get" . ucfirst($propertyName)) ?
"get" . ucfirst($propertyName) : "get" . ucfirst($propertyName) :
"get" . preg_replace_callback("/([_\-\s]?([a-z0-9]+))/", "self::replace_callback", $propertyName); "get" . preg_replace_callback("/([_\-\s]?([a-z0-9]+))/", self::class . "::replace_callback", $propertyName);
} }
} }