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

This commit is contained in:
Andras Bacsai 2024-07-12 13:54:12 +02:00
parent 7006239b0d
commit 5778466947

View File

@ -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;