Skip to content

Commit 4d77e25

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: Remove redundant parenthesis on attribute
2 parents d4f51e6 + 6f1d282 commit 4d77e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

event_dispatcher.rst

Lines changed: 2 additions & 2 deletions
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)