Skip to content

Commit a744ca6

Browse files
committed
replace call_user_func by annon function
1 parent d302568 commit a744ca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
require 'vendor/autoload.php';
1414

15-
call_user_func(static function () {
15+
(static function () {
1616
$container = require 'config/container.php';
1717
$application = $container->get(Application::class);
1818
(require 'router/middleware.php')($application, $container);
@@ -40,4 +40,4 @@
4040

4141

4242
$loop->run();
43-
});
43+
})();

0 commit comments

Comments
 (0)