Passed
Push — v2.0 ( 36b776...013406 )
by Raza
02:14
created
src/Traits/PayPalAPI/WebHooks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/');
23 23
 
24 24
         $data = ['url' => $url];
25
-        $data['event_types'] = collect($events)->map(function ($item) {
25
+        $data['event_types'] = collect($events)->map(function($item) {
26 26
             return ['name' => $item];
27 27
         })->toArray();
28 28
 
Please login to merge, or discard this patch.