Skip to content

Commit 391d469

Browse files
authored
Kernel constructor (SF v4.4.5) accepts only 2 args
1 parent 44988e0 commit 391d469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ could look something like this::
268268
Request::setTrustedHosts([$trustedHosts]);
269269
}
270270

271-
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG'], dirname(__DIR__));
271+
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
272272
$request = Request::createFromGlobals();
273273
$response = $kernel->handle($request);
274274

0 commit comments

Comments
 (0)