Skip to content

Commit 6f1d282

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Remove redundant parenthesis on attribute
2 parents 6120cde + 255b3b3 commit 6f1d282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

event_dispatcher.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ having to add any configuration in external files::
162162
}
163163
}
164164

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

167167
namespace App\EventListener;
168168

@@ -198,7 +198,7 @@ can also be applied to methods directly::
198198

199199
final class MyMultiListener
200200
{
201-
#[AsEventListener()]
201+
#[AsEventListener]
202202
public function onCustomEvent(CustomEvent $event): void
203203
{
204204
// ...

0 commit comments

Comments
 (0)