@@ -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 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | ); |
| 27 | 27 | |
| 28 | 28 | $customers = collect($customers->data) |
| 29 | - ->map(function ($customer) { |
|
| 29 | + ->map(function($customer) { |
|
| 30 | 30 | return [ |
| 31 | 31 | 'first_name' => $customer->first_name, |
| 32 | 32 | 'last_name' => $customer->last_name, |