From b48b999314eb070bccd1cb68664c1234f117bc09 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 11 Feb 2024 09:22:13 +0100 Subject: [PATCH] Fix PHP Deprecated: Calling get_class() without arguments --- PEAR.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PEAR.php b/PEAR.php index 6dba3b010..432228bdb 100644 --- a/PEAR.php +++ b/PEAR.php @@ -219,7 +219,7 @@ public function __call($method, $arguments) ); } return call_user_func_array( - array(get_class(), '_' . $method), + array(__CLASS__, '_' . $method), array_merge(array($this), $arguments) ); } @@ -232,7 +232,7 @@ public static function __callStatic($method, $arguments) ); } return call_user_func_array( - array(get_class(), '_' . $method), + array(__CLASS__, '_' . $method), array_merge(array(null), $arguments) ); }