@@ -26,7 +26,7 @@ |
||
| 26 | 26 | ); |
| 27 | 27 | |
| 28 | 28 | $subscriptions = collect($subscriptions->data) |
| 29 | - ->map(function ($subscription) { |
|
| 29 | + ->map(function($subscription) { |
|
| 30 | 30 | return [ |
| 31 | 31 | 'customer' => $subscription->customer->email, |
| 32 | 32 | 'plan' => $subscription->plan->name, |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | |
| 28 | 28 | public function getData(): array |
| 29 | 29 | { |
| 30 | - return $this->tile->getData('paystack.subscriptions') ?? []; |
|
| 30 | + return $this->tile->getData('paystack.subscriptions') ?? [ ]; |
|
| 31 | 31 | } |
| 32 | 32 | } |