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.
1 parent 702fe9c commit 6453ce3Copy full SHA for 6453ce3
event_dispatcher.rst
@@ -162,7 +162,7 @@ having to add any configuration in external files::
162
}
163
164
165
-You can add multiple ``#[AsEventListener()]`` attributes to configure different methods::
+You can add multiple ``#[AsEventListener]`` attributes to configure different methods::
166
167
namespace App\EventListener;
168
@@ -198,7 +198,7 @@ can also be applied to methods directly::
198
199
final class MyMultiListener
200
{
201
- #[AsEventListener()]
+ #[AsEventListener]
202
public function onCustomEvent(CustomEvent $event): void
203
204
// ...
0 commit comments