diff --git a/Controller/tpay/Notification.php b/Controller/tpay/Notification.php index e82c076..5b0070e 100644 --- a/Controller/tpay/Notification.php +++ b/Controller/tpay/Notification.php @@ -109,7 +109,7 @@ private function saveCard(array $notification, string $orderId) } } - public function getNotification() + private function getNotification() { $returnData = null; foreach ($this->storeManager->getStores() as $store) { @@ -122,7 +122,7 @@ public function getNotification() return $returnData; } - public function extractNotification(StoreInterface $store): array + private function extractNotification(StoreInterface $store): array { $storeId = (int) $store->getStoreId(); try {