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: Initialize null properties in Github Change component

Andras Bacsai8963f4fd625e
diff --git a/app/Livewire/Source/Github/Change.php b/app/Livewire/Source/Github/Change.php
index b7acb30a79..8fd36adc54 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;