From 54985f4cf336929fc8e35949fa3720a871a452ef Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Fri, 15 Oct 2021 15:56:22 +0200 Subject: [PATCH] Added return types --- app/PaymentDrivers/Stripe/ACSS.php | 2 +- app/PaymentDrivers/Stripe/BECS.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/Stripe/ACSS.php b/app/PaymentDrivers/Stripe/ACSS.php index c91a3f1efaec..d46817dc5a01 100644 --- a/app/PaymentDrivers/Stripe/ACSS.php +++ b/app/PaymentDrivers/Stripe/ACSS.php @@ -189,7 +189,7 @@ class ACSS } - public function processSuccessfulPayment(string $payment_intent) + public function processSuccessfulPayment(string $payment_intent): \Illuminate\Http\RedirectResponse { $data = [ 'payment_method' => $payment_intent, diff --git a/app/PaymentDrivers/Stripe/BECS.php b/app/PaymentDrivers/Stripe/BECS.php index 657647db260d..21ff8a0058d1 100644 --- a/app/PaymentDrivers/Stripe/BECS.php +++ b/app/PaymentDrivers/Stripe/BECS.php @@ -84,7 +84,7 @@ class BECS } - public function processSuccessfulPayment(string $payment_intent) + public function processSuccessfulPayment(string $payment_intent): \Illuminate\Http\RedirectResponse { $data = [ 'payment_method' => $payment_intent,