1
0
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:
David Bomba 2023-02-22 17:38:14 +11:00
parent cfdaa1517c
commit 2fe47f572a
4 changed files with 167 additions and 174 deletions

View File

@ -100,7 +100,6 @@ class PaymentFilters extends QueryFilters
if (count($payment_filters) >0) {
$query->whereIn('status_id', $payment_filters);
}
});
return $this->builder;

View File

@ -77,7 +77,6 @@ class PaymentNotification implements ShouldQueue
(new NinjaMailerJob($nmo))->handle();
$nmo = null;
}
}

View File

@ -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)