Skip to content

Commit

Permalink
This is now an array
Browse files Browse the repository at this point in the history
  • Loading branch information
lancepioch committed Oct 19, 2024
1 parent 5353d38 commit 2cc4a42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ public function resetEggVariables(Forms\Set $set, Forms\Get $get)
$serverVariables = collect();
$this->ports = [];
foreach ($variables as $variable) {
if (str_contains($variable->rules, 'port')) {
if (in_array('port', $variable->rules)) {
$this->eggDefaultPorts[$variable->env_variable] = $variable->default_value;
$this->ports[] = (int) $variable->default_value;

Expand Down

0 comments on commit 2cc4a42

Please sign in to comment.