do not call get_class() without a parameter
This has been deprecated in PHP 8.3
This commit is contained in:
parent
0abcb037f8
commit
52b006529b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue