Autoformat lol

This commit is contained in:
James Cole
2026-01-23 15:09:50 +01:00
parent ae1347c550
commit 8f15a32bd6
1071 changed files with 21111 additions and 21687 deletions

View File

@@ -31,6 +31,10 @@ class UrlValidator
{
public static function isValidWebhookURL(string $url): bool
{
return str_starts_with($url, 'https://hooks.slack.com/services/') || str_starts_with($url, 'https://discord.com/api/webhooks/') || str_ends_with($url, '/slack');
return (
str_starts_with($url, 'https://hooks.slack.com/services/')
|| str_starts_with($url, 'https://discord.com/api/webhooks/')
|| str_ends_with($url, '/slack')
);
}
}