Update formatting on AuthorizePaymentDriver.php
This commit is contained in:
parent
a6aa744ee1
commit
2e0d9e170f
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue