Skip to content

Commit d91f728

Browse files
jeromemaciasandig
authored andcommitted
Fix Symfony 4 parameters compatibility (#80)
1 parent c3dde5d commit d91f728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bootstraps/Symfony.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function getApplication()
7373

7474
//now we can modify the container
7575
$nativeStorage = new StrongerNativeSessionStorage(
76-
$app->getContainer()->getParameter('session.storage.options'),
76+
$app->getContainer()->has('session.storage.options') ? $app->getContainer()->getParameter('session.storage.options') : array(),
7777
$app->getContainer()->has('session.handler') ? $app->getContainer()->get('session.handler'): null
7878
);
7979
$app->getContainer()->set('session.storage.native', $nativeStorage);

0 commit comments

Comments
 (0)