diff --git a/src/task/setono_dotenv.php b/src/task/setono_dotenv.php index 13e7d3c..6a29180 100644 --- a/src/task/setono_dotenv.php +++ b/src/task/setono_dotenv.php @@ -182,8 +182,8 @@ function getStage(): string return 'prod'; } - $state = $labels['stage']; - Assert::stringNotEmpty($state); + $stage = $labels['stage']; + Assert::stringNotEmpty($stage); - return $state; + return $stage; }