Passed
Branch master (9f5cd5)
by Tim
08:46
created
Category
src/FetchTransactionsDataFromPaystackApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         );
27 27
 
28 28
         $transactions = collect($transactions->data)
29
-            ->map(function ($transaction) {
29
+            ->map(function($transaction) {
30 30
                 return [
31 31
                     'amount' => $this->formatMoney($transaction->amount),
32 32
                     'currency' => $transaction->currency,
Please login to merge, or discard this patch.
src/PaystackTransactionsStore.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('paystack.transactions') ?? [];
30
+        return $this->tile->getData('paystack.transactions') ?? [ ];
31 31
     }
32 32
 }
Please login to merge, or discard this patch.