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) { if (count($payment_filters) >0) {
$query->whereIn('status_id', $payment_filters); $query->whereIn('status_id', $payment_filters);
} }
}); });
return $this->builder; return $this->builder;

View File

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

View File

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

View File

@ -363,4 +363,4 @@ class BaseRepository
return $model->fresh(); return $model->fresh();
} }
} }