Passed
Push — master ( 02c931...54498b )
by Tim
02:16
created
src/FetchCustomersDataFromStripeApi.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/StripeCustomersStore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.