do not call get_class() without a parameter

This has been deprecated in PHP 8.3
This commit is contained in:
Andreas Gohr 2023-11-14 11:29:32 +01:00
parent 0abcb037f8
commit 52b006529b
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ trait PropertyDeprecationHelper
$property,
$class = null
) {
$this->deprecatedPublicProperties[$property] = $class ?: get_class();
$this->deprecatedPublicProperties[$property] = $class ?: get_class($this);
}
public function __get($name)