From 57784669472b969145da5d7964d2e5117db6f448 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 12 Jul 2024 13:54:12 +0200 Subject: [PATCH] refactor: Update Webhooks.php to use nullable type for webhook URLs --- app/Livewire/Project/Shared/Webhooks.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Livewire/Project/Shared/Webhooks.php b/app/Livewire/Project/Shared/Webhooks.php index 99fbecbce..aab1fdc47 100644 --- a/app/Livewire/Project/Shared/Webhooks.php +++ b/app/Livewire/Project/Shared/Webhooks.php @@ -9,15 +9,15 @@ class Webhooks extends Component { public $resource; - public string $deploywebhook; + public ?string $deploywebhook; - public string $githubManualWebhook; + public ?string $githubManualWebhook; - public string $gitlabManualWebhook; + public ?string $gitlabManualWebhook; - public string $bitbucketManualWebhook; + public ?string $bitbucketManualWebhook; - public string $giteaManualWebhook; + public ?string $giteaManualWebhook; public ?string $githubManualWebhookSecret = null;