From 2648f91b632b63dc8709fb5692b14cc9ac99ab11 Mon Sep 17 00:00:00 2001 From: atsaruk Date: Fri, 8 Nov 2024 17:18:58 +0100 Subject: [PATCH] fix deprecated in php8.2 --- lib/PayPal/Common/ReflectionUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PayPal/Common/ReflectionUtil.php b/lib/PayPal/Common/ReflectionUtil.php index f7b397a..a2f532e 100644 --- a/lib/PayPal/Common/ReflectionUtil.php +++ b/lib/PayPal/Common/ReflectionUtil.php @@ -150,6 +150,6 @@ class ReflectionUtil { return method_exists($class, "get" . ucfirst($propertyName)) ? "get" . ucfirst($propertyName) : - "get" . preg_replace_callback("/([_\-\s]?([a-z0-9]+))/", "self::replace_callback", $propertyName); + "get" . preg_replace_callback("/([_\-\s]?([a-z0-9]+))/", self::class . "::replace_callback", $propertyName); } }