Passed
Push — v2.0 ( d79b43...27e8f8 )
by Raza
09:44 queued 14s
created
src/Traits/PayPalAPI/Reporting.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function listTransactions(array $filters, string $fields = 'all')
22 22
     {
23
-        $filters_list = collect($filters)->isEmpty() ? '' :
24
-            collect($filters)->map(function ($value, $key) {
23
+        $filters_list = collect($filters)->isEmpty() ? '' : collect($filters)->map(function($value, $key) {
25 24
                 return "{$key}={$value}&";
26 25
             })->implode('');
27 26
 
Please login to merge, or discard this patch.