We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f653b3f commit e49f6b4Copy full SHA for e49f6b4
src/WebhookClientServiceProvider.php
@@ -33,7 +33,9 @@ public function boot()
33
$configRepository = new WebhookConfigRepository();
34
35
collect(config('webhook-client.configs'))
36
- ->map(fn (array $config) => new WebhookConfig($config))
+ ->map(function (array $config) {
37
+ return new WebhookConfig($config);
38
+ })
39
->each(function (WebhookConfig $webhookConfig) use ($configRepository) {
40
$configRepository->addConfig($webhookConfig);
41
});
0 commit comments