We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
spatie
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 71acc60 commit 61a2a3fCopy full SHA for 61a2a3f
src/Config/NotificationsConfig.php
@@ -33,7 +33,7 @@ public static function fromArray(array $data): self
33
notifiable: $data['notifiable'],
34
mail: NotificationMailConfig::fromArray($data['mail']),
35
slack: NotificationSlackConfig::fromArray($data['slack']),
36
- discord: $data['discord'] ? NotificationDiscordConfig::fromArray($data['discord']) : null,
+ discord: isset($data['discord']) ? NotificationDiscordConfig::fromArray($data['discord']) : null,
37
);
38
}
39
0 commit comments