Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  Remove redundant parenthesis on attribute
  • Loading branch information
OskarStark committed May 21, 2024
2 parents 6120cde + 255b3b3 commit 6f1d282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions event_dispatcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ having to add any configuration in external files::
}
}

You can add multiple ``#[AsEventListener()]`` attributes to configure different methods::
You can add multiple ``#[AsEventListener]`` attributes to configure different methods::

namespace App\EventListener;

Expand Down Expand Up @@ -198,7 +198,7 @@ can also be applied to methods directly::

final class MyMultiListener
{
#[AsEventListener()]
#[AsEventListener]
public function onCustomEvent(CustomEvent $event): void
{
// ...
Expand Down

0 comments on commit 6f1d282

Please sign in to comment.