From 9b4e6c6c25533edccec71e074ede1f193effaeb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 19 Oct 2021 16:16:57 +0200 Subject: [PATCH] Apply style fixes --- app/PaymentDrivers/GoCardless/DirectDebit.php | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/app/PaymentDrivers/GoCardless/DirectDebit.php b/app/PaymentDrivers/GoCardless/DirectDebit.php index 78a75586f6a1..4df220fa26d3 100644 --- a/app/PaymentDrivers/GoCardless/DirectDebit.php +++ b/app/PaymentDrivers/GoCardless/DirectDebit.php @@ -13,8 +13,8 @@ namespace App\PaymentDrivers\GoCardless; use App\Exceptions\PaymentFailed; -use App\Http\Requests\Request; use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest; +use App\Http\Requests\Request; use App\Jobs\Mail\PaymentFailureMailer; use App\Jobs\Util\SystemLogger; use App\Models\ClientGatewayToken; @@ -25,14 +25,13 @@ use App\Models\SystemLog; use App\PaymentDrivers\Common\MethodInterface; use App\PaymentDrivers\GoCardlessPaymentDriver; use App\Utils\Traits\MakesHash; -use Illuminate\Contracts\Container\BindingResolutionException; use Illuminate\Http\RedirectResponse; use Illuminate\Routing\Redirector; use Illuminate\View\View; class DirectDebit implements MethodInterface { - use MakesHash; + use MakesHash; protected GoCardlessPaymentDriver $go_cardless; @@ -45,9 +44,9 @@ class DirectDebit implements MethodInterface /** * Handle authorization for Direct Debit. - * - * @param array $data - * @return Redirector|RedirectResponse|void + * + * @param array $data + * @return Redirector|RedirectResponse|void */ public function authorizeView(array $data) { @@ -103,9 +102,9 @@ class DirectDebit implements MethodInterface /** * Handle authorization response for Direct Debit. - * - * @param Request $request - * @return RedirectResponse|void + * + * @param Request $request + * @return RedirectResponse|void */ public function authorizeResponse(Request $request) { @@ -138,9 +137,9 @@ class DirectDebit implements MethodInterface /** * Payment view for Direct Debit. - * - * @param array $data - * @return View + * + * @param array $data + * @return View */ public function paymentView(array $data): View { @@ -182,7 +181,7 @@ class DirectDebit implements MethodInterface } } - /** + /** * Handle pending payments for Direct Debit. * * @param ResourcesPayment $payment @@ -246,4 +245,4 @@ class DirectDebit implements MethodInterface throw new PaymentFailed('Failed to process the payment.', 500); } -} \ No newline at end of file +}