[HttpFoundation] fix merge

This commit is contained in:
Nicolas Grekas 2018-06-28 10:10:40 +02:00
parent 223cf06121
commit fd8fd3df47

View File

@ -62,7 +62,7 @@ abstract class AbstractSessionListener implements EventSubscriberInterface
}
$session = $session ?? ($this->container && $this->container->has('initialized_session') ? $this->container->get('initialized_session') : null);
$this->sessionUsageStack[] = $session instanceof Session ? $session->getUsageIndex() : null;
$this->sessionUsageStack[] = $session instanceof Session ? $session->getUsageIndex() : 0;
}
public function onKernelResponse(FilterResponseEvent $event)