Skip to content

Commit c2748dc

Browse files
committed
changed isMasterRequest to isMainRequest in event listener
1 parent 5879f22 commit c2748dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EventListener/MaintenanceListener.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct(array $maintenance, KernelInterface $kernel, Environ
5757
public function onKernelRequest(RequestEvent $event)
5858
{
5959

60-
if (!$event->isMasterRequest()) {
60+
if (!$event->isMainRequest()) {
6161
return;
6262
}
6363

@@ -70,4 +70,4 @@ public function onKernelRequest(RequestEvent $event)
7070
}
7171

7272

73-
}
73+
}

0 commit comments

Comments
 (0)