@@ -92,7 +92,9 @@ |
||
| 92 | 92 | |
| 93 | 93 | protected function eventRequestMatches(KernelEvent $event): bool |
| 94 | 94 | { |
| 95 | - if ($event->getRequest()->getMethod() === Request::METHOD_OPTIONS) return false; |
|
| 95 | + if ($event->getRequest()->getMethod() === Request::METHOD_OPTIONS) { |
|
| 96 | + return false; |
|
| 97 | + } |
|
| 96 | 98 | |
| 97 | 99 | return $this->requestMatcher->matches($event->getRequest(), $event->getRequestType()); |
| 98 | 100 | } |