Passed
Push — v2.0 ( f438a9...d79b43 )
by Raza
02:10 queued 17s
created
src/Traits/PayPalRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
             }
196 196
         }
197 197
 
198
-        collect($credentials[$this->mode])->map(function ($value, $key) {
198
+        collect($credentials[$this->mode])->map(function($value, $key) {
199 199
             $this->config[$key] = $value;
200 200
         });
201 201
 
Please login to merge, or discard this patch.
src/Traits/PayPalAPI/WebHooks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         $this->apiEndPoint = 'v1/notifications/webhooks';
22 22
 
23 23
         $data = ['url' => $url];
24
-        $data['event_types'] = collect($events)->map(function ($item) {
24
+        $data['event_types'] = collect($events)->map(function($item) {
25 25
             return ['name' => $item];
26 26
         })->toArray();
27 27
 
Please login to merge, or discard this patch.