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 a6ddf25 commit 33fb5a2Copy full SHA for 33fb5a2
public/index.php
@@ -5,5 +5,6 @@
5
require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
6
7
return function (array $context) {
8
+ /** @var array{APP_ENV: string, APP_DEBUG: bool} $context */
9
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
10
};
tests/bootstrap.php
@@ -4,9 +4,7 @@
4
require dirname(__DIR__) . '/vendor/autoload.php';
-if (method_exists(Dotenv::class, 'bootEnv')) {
- (new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
-}
+(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
11
if ($_SERVER['APP_DEBUG']) {
12
umask(0000);
0 commit comments