Merge branch 'main' into koda/ticket-create-notification-action
linter / quality (pull_request) Successful in 1m19s
tests / ci (8.4) (pull_request) Successful in 1m37s

# Conflicts:
#	resources/js/pages/projects/settings/Notifications.vue
This commit is contained in:
2026-04-25 20:35:38 +02:00
11 changed files with 372 additions and 124 deletions
+12
View File
@@ -28,4 +28,16 @@ enum NotificationEventType: string
self::cases(),
);
}
/**
* @param array<int, self>|null $notificationEventTypes
* @return array<int, string>
*/
public static function values(?array $notificationEventTypes = null): array
{
return array_map(
fn (self $notificationEventType): string => $notificationEventType->value,
$notificationEventTypes ?? self::cases(),
);
}
}