@@ -27,6 +27,6 @@ |
||
27 | 27 | |
28 | 28 | public function getData(): array |
29 | 29 | { |
30 | - return $this->tile->getData('stripe.balances') ?? []; |
|
30 | + return $this->tile->getData('stripe.balances') ?? [ ]; |
|
31 | 31 | } |
32 | 32 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | $balances = Balance::retrieve(); |
24 | 24 | |
25 | 25 | $balances = collect($balances->available) |
26 | - ->map(function ($balance) { |
|
26 | + ->map(function($balance) { |
|
27 | 27 | return [ |
28 | 28 | 'amount' => $this->toReadableAmount($balance->amount), |
29 | 29 | 'currency' => strtoupper($balance->currency), |