We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec8fc2d + 4ce9957 commit 205f59fCopy full SHA for 205f59f
src/Symfony/EventListener/ReadListener.php
@@ -60,7 +60,7 @@ public function onKernelRequest(RequestEvent $event): void
60
return;
61
}
62
63
- if (!$operation || !($operation->canRead() ?? true) || !$attributes['receive'] || (!$operation->getUriVariables() && !$request->isMethodSafe())) {
+ if (!$attributes['receive'] || !$operation || !($operation->canRead() ?? true) || (!$operation->getUriVariables() && !$request->isMethodSafe())) {
64
65
66
0 commit comments