We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81957f4 commit 34e0152Copy full SHA for 34e0152
lib/events/AccessControlEventListener.php
@@ -87,7 +87,7 @@ public function onKernelController(ControllerEvent $event)
87
$this->annotations->getMethodAnnotation(
88
$reflectionMethod,
89
IsGranted::class
90
- )
+ ) || !empty($reflectionMethod->getAttributes(IsGranted::class))
91
) {
92
return;
93
}
0 commit comments