Passed
Push — v3.0 ( 7119cd...00f3e7 )
by Raza
02:43
created
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.