Fix backend code styling

This commit is contained in:
MakingCG
2021-05-24 14:48:13 +00:00
committed by GitHub Actions
parent 99b4b030d2
commit 350f130d98
98 changed files with 1845 additions and 1845 deletions

View File

@@ -15,18 +15,18 @@ class PaymentCardResource extends JsonResource
{
return [
'data' => [
'id' => (string) $this['id'],
'type' => 'payment_method',
'id' => (string) $this['id'],
'type' => 'payment_method',
'attributes' => [
'provider' => 'stripe',
'card_id' => $this['id'],
'brand' => strtolower($this['card']['brand']),
'last4' => $this['card']['last4'],
'exp_month' => $this['card']['exp_month'],
'exp_year' => $this['card']['exp_year'],
'provider' => 'stripe',
'card_id' => $this['id'],
'brand' => strtolower($this['card']['brand']),
'last4' => $this['card']['last4'],
'exp_month' => $this['card']['exp_month'],
'exp_year' => $this['card']['exp_year'],
'created_at' => format_date($this['created_at'], '%d. %B. %Y'),
'status' => 'active',
'default' => 0,
'status' => 'active',
'default' => 0,
],
],
];