diff --git a/app/Http/Requests/Company/DefaultCompanyRequest.php b/app/Http/Requests/Company/DefaultCompanyRequest.php index 7e5a1f349f6b..e772506ad09b 100644 --- a/app/Http/Requests/Company/DefaultCompanyRequest.php +++ b/app/Http/Requests/Company/DefaultCompanyRequest.php @@ -22,7 +22,7 @@ class DefaultCompanyRequest extends Request */ public function authorize() : bool { - return auth()->user()->isAdmin() + return auth()->user()->isAdmin(); } public function rules() diff --git a/app/PaymentDrivers/Eway/Token.php b/app/PaymentDrivers/Eway/Token.php index 1bdbc2ed18a0..9f9ac8ac2ae6 100644 --- a/app/PaymentDrivers/Eway/Token.php +++ b/app/PaymentDrivers/Eway/Token.php @@ -95,7 +95,7 @@ class Token $response_status = ErrorCode::getStatus($response->ResponseMessage); - $error = $response_status['message'] + $error = $response_status['message']; $error_code = $response->ResponseMessage; $data = [ diff --git a/app/PaymentDrivers/Stripe/SEPA.php b/app/PaymentDrivers/Stripe/SEPA.php index d78d0c065b88..74b564f6ed14 100644 --- a/app/PaymentDrivers/Stripe/SEPA.php +++ b/app/PaymentDrivers/Stripe/SEPA.php @@ -43,7 +43,7 @@ class SEPA 'customer' => $customer->id, ], $this->stripe_driver->stripe_connect_auth); - $client_secret = $setup_intent->client_secret + $client_secret = $setup_intent->client_secret; // Pass the client secret to the client