| @@ -195,7 +195,7 @@ | ||
| 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 | |
| @@ -21,7 +21,7 @@ | ||
| 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 | |