Skip to content

Commit

Permalink
Fix deprecation warning for get_class() in PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
w92 authored Nov 7, 2024
1 parent cc5fee0 commit 01c0e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pipedrive.php
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}
}
Expand Down

0 comments on commit 01c0e4c

Please sign in to comment.