Passed
Push — v3.0 ( 07e5cc...ef853f )
by Raza
02:33
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.