From c6b59484991d2867dba0dd57334891ac95667bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20R=C3=B3bert?= Date: Wed, 15 Apr 2020 11:27:38 +0300 Subject: [PATCH] Add missing return type --- modules.local/ppcp-api-client/src/Factory/PaymentsFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.local/ppcp-api-client/src/Factory/PaymentsFactory.php b/modules.local/ppcp-api-client/src/Factory/PaymentsFactory.php index 3263621bd..114336663 100644 --- a/modules.local/ppcp-api-client/src/Factory/PaymentsFactory.php +++ b/modules.local/ppcp-api-client/src/Factory/PaymentsFactory.php @@ -18,7 +18,7 @@ class PaymentsFactory $this->authorizationsFactory = $authorizationsFactory; } - public function fromPayPalResponse(\stdClass $data) + public function fromPayPalResponse(\stdClass $data): Payments { $authorizations = array_map( function (\stdClass $authorization): Authorization {