From a39a0ebc515c36ad5903a55523a39f6e961b7f3b Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sun, 17 Jan 2021 18:23:23 +0000 Subject: [PATCH] reflection --- src/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.php b/src/Utils.php index 83d1f7e3b..03482a708 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -712,7 +712,7 @@ function wf_civicrm_api3_contribution_transact($params) { // But note we still return a localized format // $propertyBag->setAmount($params['total_amount']); - $reflectionClass = new ReflectionClass($propertyBag); + $reflectionClass = new \ReflectionClass($propertyBag); $reflectionProperty = $reflectionClass->getProperty('props'); $reflectionProperty->setAccessible(TRUE); $payParams = $reflectionProperty->getValue($propertyBag)['default'];