Skip to content

Commit

Permalink
Merge pull request #70 from mehrancodes/fix-php-version-nullable-issue
Browse files Browse the repository at this point in the history
🔥 Fix: Made the phpVersion property nullable
  • Loading branch information
mehrancodes authored Feb 25, 2024
2 parents 48f0352 + 48f0973 commit 537b5c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Services/Forge/ForgeSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class ForgeSetting
/**
* PHP version (e.g., 7.4, 8.0).
*/
public string $phpVersion;
public ?string $phpVersion = null;

/**
* Pattern for subdomains.
Expand Down Expand Up @@ -168,7 +168,7 @@ class ForgeSetting
'repository' => ['required'],
'branch' => ['required'],
'project_type' => ['string'],
'php_version' => ['string'],
'php_version' => ['nullable', 'string'],
'subdomain_pattern' => ['nullable', 'string'],
'command' => ['nullable', 'string'],
'nginx_template' => ['nullable', 'int'],
Expand Down

0 comments on commit 537b5c3

Please sign in to comment.