Skip to content

Commit

Permalink
chore: fix calling get_class() without arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jvillal-amp authored and JohnVillalovos committed Jul 2, 2024
1 parent 3005fe2 commit 12876bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/external/pear/PEAR.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public static function __callStatic($method, $arguments)
);
}
return call_user_func_array(
array(get_class(), '_' . $method),
array(__CLASS__, '_' . $method),
array_merge(array(null), $arguments)
);
}
Expand Down Expand Up @@ -663,7 +663,7 @@ public function __call($method, $arguments)
);
}
return call_user_func_array(
array(get_class(), '_' . $method),
array(__CLASS__, '_' . $method),
array_merge(array($this), $arguments)
);
}
Expand Down

0 comments on commit 12876bb

Please sign in to comment.