Skip to content

Commit 205f59f

Browse files
authored
Merge pull request #4943 from dunglas/chore/merge-2.7
Chore/merge 2.7
2 parents ec8fc2d + 4ce9957 commit 205f59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/EventListener/ReadListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function onKernelRequest(RequestEvent $event): void
6060
return;
6161
}
6262

63-
if (!$operation || !($operation->canRead() ?? true) || !$attributes['receive'] || (!$operation->getUriVariables() && !$request->isMethodSafe())) {
63+
if (!$attributes['receive'] || !$operation || !($operation->canRead() ?? true) || (!$operation->getUriVariables() && !$request->isMethodSafe())) {
6464
return;
6565
}
6666

0 commit comments

Comments
 (0)