We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f127b70 commit 824c3d7Copy full SHA for 824c3d7
bin/console
@@ -11,7 +11,7 @@ if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
11
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
12
13
return function (array $context) {
14
- $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
+ $kernel = new Kernel($context['APP_ENV'] ?? 'prod', (bool) $context['APP_DEBUG'] ?? false);
15
16
return new Application($kernel);
17
};
0 commit comments