Skip to content

Commit c5f51e8

Browse files
committed
update Program class of web template
1 parent e84759e commit c5f51e8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

templates/web/src/Program.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@ class Program
1111
public static function main(array $args = [])
1212
{
1313
$builder = WebHost::createDefaultBuilder($args);
14-
$configuration = $builder->Configuration;
15-
16-
$builder->register(function ($services) use ($configuration) {
14+
$builder->register(function ($services) {
1715
// Services
1816
});
1917

2018
$host = $builder->build();
21-
2219
$host->start(function ($app) {
2320
// Middlewares
2421
$app->useRouter();

0 commit comments

Comments
 (0)