From 8b9e6ea68457ad8149858f65d3dd133a4600d188 Mon Sep 17 00:00:00 2001 From: RafaMelazzo Date: Wed, 16 Aug 2023 09:49:03 -0300 Subject: [PATCH] added function to remove if --- Observer/CreditCardDataAssignObserver.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Observer/CreditCardDataAssignObserver.php b/Observer/CreditCardDataAssignObserver.php index 1ce9e29e..1768b872 100644 --- a/Observer/CreditCardDataAssignObserver.php +++ b/Observer/CreditCardDataAssignObserver.php @@ -74,7 +74,8 @@ public function execute(Observer $observer) * @param mixed $info * @return void */ - public function fillCardData(DataObject $additionalData, $info) { + public function fillCardData(DataObject $additionalData, $info) + { if ($additionalData->getCcSavedCard()) { $this->fillSavedCardData($additionalData, $info); return;