From 070ed8c2c3e2a07ea4aee6ec4dd08eb11cd8042f Mon Sep 17 00:00:00 2001 From: Aleksey Kotsuba Date: Fri, 9 Oct 2020 11:39:29 +0300 Subject: [PATCH] SUPESC-180: Fix return type. --- .../Zed/Computop/Business/Processor/NotificationProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SprykerEco/Zed/Computop/Business/Processor/NotificationProcessor.php b/src/SprykerEco/Zed/Computop/Business/Processor/NotificationProcessor.php index 2dae01d88..1e7fdacdd 100644 --- a/src/SprykerEco/Zed/Computop/Business/Processor/NotificationProcessor.php +++ b/src/SprykerEco/Zed/Computop/Business/Processor/NotificationProcessor.php @@ -37,7 +37,7 @@ public function processNotification( ComputopNotificationTransfer $computopNotificationTransfer ): ComputopNotificationTransfer { return $this->getTransactionHandler()->handleTransaction( - function () use ($computopNotificationTransfer): void { + function () use ($computopNotificationTransfer): ComputopNotificationTransfer { return $this->executeSaveComputopNotificationTransaction($computopNotificationTransfer); } );