Skip to content

Commit

Permalink
Merge pull request #141 from w92/patch-1
Browse files Browse the repository at this point in the history
Fix deprecation warning for `get_class()` in PHP 8.3
  • Loading branch information
IsraelOrtuno authored Nov 10, 2024
2 parents cc5fee0 + 01c0e4c commit 7d3edfb
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 7d3edfb

Please sign in to comment.