You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewLogicException(\sprintf('AsEventListener attribute cannot declare a method on "%s::%s()".', $reflector->class, $reflector->name));
764
+
}
765
+
766
+
$tagAttributes['method'] = $reflector->getName();
767
+
768
+
if (!$eventArg = $reflector->getParameters()[0] ?? null) {
769
+
thrownewLogicException(\sprintf('AsEventListener attribute requires the first argument of "%s::%s()" to be an event object.', $reflector->class, $reflector->name));
0 commit comments