]> Raphaƫl G. Git Repositories - blog/blobdiff - public/index.php
Add config reference php file
[blog] / public / index.php
index 9982c218d6969c72d4c91e3834e3f535e2dfe68b..c0037a8db4a454268d8c843a351964bed75d0df2 100644 (file)
@@ -4,6 +4,6 @@ use App\Kernel;
 
 require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
 
 
 require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
 
-return function (array $context) {
+return static function (array $context) {
     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
 };
     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
 };