@@ -27,6 +27,6 @@ |
||
| 27 | 27 | |
| 28 | 28 | public function getData(): array |
| 29 | 29 | { |
| 30 | - return $this->tile->getData('paystack.customers') ?? []; |
|
| 30 | + return $this->tile->getData('paystack.customers') ?? [ ]; |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -20,11 +20,11 @@ |
||
| 20 | 20 | $this->info('Fetching Paystack customers ...'); |
| 21 | 21 | |
| 22 | 22 | $customers = Customer::list( |
| 23 | - config('dashboard.tiles.paystack.customers.params') ?? [] |
|
| 23 | + config('dashboard.tiles.paystack.customers.params') ?? [ ] |
|
| 24 | 24 | ); |
| 25 | 25 | |
| 26 | 26 | $customers = collect($customers->data) |
| 27 | - ->map(function ($customer) { |
|
| 27 | + ->map(function($customer) { |
|
| 28 | 28 | return [ |
| 29 | 29 | 'first_name' => $customer->first_name, |
| 30 | 30 | 'last_name' => $customer->last_name, |