mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
php-cs-fixer
This commit is contained in:
parent
cfdaa1517c
commit
2fe47f572a
@ -100,7 +100,6 @@ class PaymentFilters extends QueryFilters
|
|||||||
if (count($payment_filters) >0) {
|
if (count($payment_filters) >0) {
|
||||||
$query->whereIn('status_id', $payment_filters);
|
$query->whereIn('status_id', $payment_filters);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return $this->builder;
|
return $this->builder;
|
||||||
|
@ -77,7 +77,6 @@ class PaymentNotification implements ShouldQueue
|
|||||||
(new NinjaMailerJob($nmo))->handle();
|
(new NinjaMailerJob($nmo))->handle();
|
||||||
|
|
||||||
$nmo = null;
|
$nmo = null;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,6 @@ class UpdatePaymentMethods
|
|||||||
$this->importBankAccounts($customer, $client);
|
$this->importBankAccounts($customer, $client);
|
||||||
|
|
||||||
$this->importPMBankAccounts($customer, $client);
|
$this->importPMBankAccounts($customer, $client);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ACH may also be nested inside Payment Methods.*/
|
/* ACH may also be nested inside Payment Methods.*/
|
||||||
@ -90,9 +89,7 @@ class UpdatePaymentMethods
|
|||||||
$this->stripe->stripe_connect_auth
|
$this->stripe->stripe_connect_auth
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach($bank_methods->data as $method)
|
foreach ($bank_methods->data as $method) {
|
||||||
{
|
|
||||||
|
|
||||||
$token_exists = ClientGatewayToken::where([
|
$token_exists = ClientGatewayToken::where([
|
||||||
'gateway_customer_reference' => $customer->id,
|
'gateway_customer_reference' => $customer->id,
|
||||||
'token' => $method->id,
|
'token' => $method->id,
|
||||||
@ -126,9 +123,7 @@ class UpdatePaymentMethods
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->stripe->storeGatewayToken($data, $additional_data);
|
$this->stripe->storeGatewayToken($data, $additional_data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function importBankAccounts($customer, $client)
|
public function importBankAccounts($customer, $client)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user