Allow sending helcase battle to custom discord webhook
All checks were successful
Push image to registry / build-image (push) Successful in 4m24s

This commit is contained in:
2025-03-20 19:28:40 +01:00
parent fadb4d2748
commit c26a09701a
4 changed files with 18 additions and 7 deletions

View File

@ -12,9 +12,9 @@ class AllNotification extends NotificationProvider {
/**
* @inheritDoc
*/
public static function send(\App\Notification\Notification $notification): void {
public static function send(\App\Notification\Notification $notification, array $options = []): void {
foreach (self::NOTIFICATIONS_PROVIDERS as $provider) {
$provider::send($notification);
$provider::send($notification, $options);
}
}
}