Fix event service listener registration

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-06-18 15:00:19 +02:00
parent 2f586bc7e0
commit 9cf32a3999
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class RegistrationContext {
$registration['priority']
);
} else {
$eventDispatcher->addListener(
$eventDispatcher->addServiceListener(
$registration['event'],
$registration['listener']
);