From 01c0e4cee753660f5e438e13a15a0e313fb4c107 Mon Sep 17 00:00:00 2001 From: w92 <56636676+w92@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:02:30 +0100 Subject: [PATCH] Fix deprecation warning for `get_class()` in PHP 8.3 --- src/Pipedrive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pipedrive.php b/src/Pipedrive.php index dc28e93..0342d6a 100644 --- a/src/Pipedrive.php +++ b/src/Pipedrive.php @@ -408,7 +408,7 @@ public function __get($name) */ public function __call($name, $arguments) { - if (! in_array($name, get_class_methods(get_class()))) { + if (! in_array($name, get_class_methods(get_class($this)))) { return $this->{$name}; } }