mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
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.
|
* Returns the gateway types.
|
||||||
*/
|
*/
|
||||||
public function gatewayTypes() :array
|
public function gatewayTypes(): array
|
||||||
{
|
{
|
||||||
$types = [];
|
$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;
|
$types[] = GatewayType::CREDIT_CARD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user