Skip to content

Commit 40a1a3a

Browse files
committed
minor #13317 Kernel constructor (SF v4.4.5) accepts only 2 args (thePanz)
This PR was merged into the 4.4 branch. Discussion ---------- Kernel constructor (SF v4.4.5) accepts only 2 args In v4.4.5 the Kernel constructor only accepts 2 arguments. Legacy-Migration documentation updated accordingly Commits ------- 391d469 Kernel constructor (SF v4.4.5) accepts only 2 args
2 parents 36363cd + 391d469 commit 40a1a3a

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)