From 8963f4fd625ee4632f65ea8558cf0e5311e1f289 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 6 Jun 2024 11:10:16 +0200 Subject: [PATCH] refactor: Initialize null properties in Github Change component --- app/Livewire/Source/Github/Change.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Livewire/Source/Github/Change.php b/app/Livewire/Source/Github/Change.php index b7acb30a7..8fd36adc5 100644 --- a/app/Livewire/Source/Github/Change.php +++ b/app/Livewire/Source/Github/Change.php @@ -11,16 +11,16 @@ use Livewire\Component; class Change extends Component { public string $webhook_endpoint; - public ?string $ipv4; - public ?string $ipv6; - public ?string $fqdn; + public ?string $ipv4 = null; + public ?string $ipv6 = null; + public ?string $fqdn = null; public ?bool $default_permissions = true; public ?bool $preview_deployment_permissions = true; public ?bool $administration = false; public $parameters; - public ?GithubApp $github_app; + public ?GithubApp $github_app = null; public string $name; public bool $is_system_wide;