File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Symfony/EventListener Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function onKernelRequest(RequestEvent $event): void
65
65
return ;
66
66
}
67
67
68
- if (!$ operation || !($ operation ->canRead () ?? true ) || ! $ attributes [ ' receive ' ] || (! $ operation ->getUriVariables () && ! $ request -> isMethodSafe ()) || ($ operation -> getExtraProperties ()[ ' is_legacy_resource_metadata ' ] ?? false ) || ($ operation ->getExtraProperties ()[ ' is_legacy_subresource ' ] ?? false )) {
68
+ if (!$ attributes [ ' receive ' ] || ! $ operation || !($ operation ->canRead () ?? true ) || (( $ extraProperties = $ operation ->getExtraProperties ())[ ' is_legacy_resource_metadata ' ] ?? false ) || ($ extraProperties [ ' is_legacy_subresource ' ] ?? false ) || (! $ operation ->getUriVariables () && ! $ request -> isMethodSafe () )) {
69
69
return ;
70
70
}
71
71
You can’t perform that action at this time.
0 commit comments