diff --git a/lib/Alchemy/Phrasea/CLI.php b/lib/Alchemy/Phrasea/CLI.php index 1b60f44805..ac81fe6bd4 100644 --- a/lib/Alchemy/Phrasea/CLI.php +++ b/lib/Alchemy/Phrasea/CLI.php @@ -34,7 +34,7 @@ class CLI extends Application * @param string|null $version Version number for this application. * @param string|null $environment The environment. */ - public function __construct($name, $version = null, $environment = null) + public function __construct($name, $version = null, $environment = self::ENV_PROD) { parent::__construct($environment);