@@ -21,11 +21,11 @@ |
||
| 21 | 21 | $this->info('Fetching Stripe customers ...'); |
| 22 | 22 | |
| 23 | 23 | $customers = $stripe->customers->all( |
| 24 | - config('dashboard.tiles.stripe.customers.params') ?? ['limit' => 5] |
|
| 24 | + config('dashboard.tiles.stripe.customers.params') ?? [ 'limit' => 5 ] |
|
| 25 | 25 | ); |
| 26 | 26 | |
| 27 | 27 | $customers = collect($customers->data) |
| 28 | - ->map(function ($customer) { |
|
| 28 | + ->map(function($customer) { |
|
| 29 | 29 | return [ |
| 30 | 30 | 'name' => $customer->name, |
| 31 | 31 | 'customer_id' => $customer->id, |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | |
| 28 | 28 | public function getData(): array |
| 29 | 29 | { |
| 30 | - return $this->tile->getData('stripe.customers') ?? []; |
|
| 30 | + return $this->tile->getData('stripe.customers') ?? [ ]; |
|
| 31 | 31 | } |
| 32 | 32 | } |