mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01: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) {
|
||||
$query->whereIn('status_id', $payment_filters);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
return $this->builder;
|
||||
|
@ -77,7 +77,6 @@ class PaymentNotification implements ShouldQueue
|
||||
(new NinjaMailerJob($nmo))->handle();
|
||||
|
||||
$nmo = null;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,6 @@ class UpdatePaymentMethods
|
||||
$this->importBankAccounts($customer, $client);
|
||||
|
||||
$this->importPMBankAccounts($customer, $client);
|
||||
|
||||
}
|
||||
|
||||
/* ACH may also be nested inside Payment Methods.*/
|
||||
@ -90,9 +89,7 @@ class UpdatePaymentMethods
|
||||
$this->stripe->stripe_connect_auth
|
||||
);
|
||||
|
||||
foreach($bank_methods->data as $method)
|
||||
{
|
||||
|
||||
foreach ($bank_methods->data as $method) {
|
||||
$token_exists = ClientGatewayToken::where([
|
||||
'gateway_customer_reference' => $customer->id,
|
||||
'token' => $method->id,
|
||||
@ -126,9 +123,7 @@ class UpdatePaymentMethods
|
||||
}
|
||||
|
||||
$this->stripe->storeGatewayToken($data, $additional_data);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function importBankAccounts($customer, $client)
|
||||
|
Loading…
Reference in New Issue
Block a user