Update formatting on AuthorizePaymentDriver.php

This commit is contained in:
Benjamin Beganović 2021-06-29 12:33:12 +02:00
parent a6aa744ee1
commit 2e0d9e170f

View File

@ -54,11 +54,11 @@ class AuthorizePaymentDriver extends BaseDriver
/**
* Returns the gateway types.
*/
public function gatewayTypes() :array
public function gatewayTypes(): array
{
$types = [];
if($this->company_gateway->fees_and_limits->{GatewayType::CREDIT_CARD}->is_enabled) {
if ($this->company_gateway->fees_and_limits->{GatewayType::CREDIT_CARD}->is_enabled) {
$types[] = GatewayType::CREDIT_CARD;
}