Add consistency with request type checking
This commit is contained in:
parent
679911ca82
commit
1852f85947
@ -47,7 +47,7 @@ class SaveSessionListener implements EventSubscriberInterface
|
||||
{
|
||||
public function onKernelResponse(FilterResponseEvent $event)
|
||||
{
|
||||
if (HttpKernelInterface::MASTER_REQUEST !== $event->getRequestType()) {
|
||||
if (!$event->isMasterRequest()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user