Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor: Update Webhooks.php to use nullable type for webhook URLs

Andras Bacsai57784669472b
diff --git a/app/Livewire/Project/Shared/Webhooks.php b/app/Livewire/Project/Shared/Webhooks.php
index 99fbecbce0..aab1fdc47c 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;