@@ -61,7 +61,7 @@ public function testValidEventSubscriber()
6161 $ this ->assertEquals ($ expectedCalls , $ eventDispatcherDefinition ->getMethodCalls ());
6262 }
6363
64- public function testAliasedEventSubscriber (): void
64+ public function testAliasedEventSubscriber ()
6565 {
6666 $ builder = new ContainerBuilder ();
6767 $ builder ->setParameter ('event_dispatcher.event_aliases ' , [AliasedEvent::class => 'aliased_event ' ]);
@@ -210,7 +210,7 @@ public function testInvokableEventListener()
210210 $ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
211211 }
212212
213- public function testAliasedEventListener (): void
213+ public function testAliasedEventListener ()
214214 {
215215 $ container = new ContainerBuilder ();
216216 $ eventAliases = [AliasedEvent::class => 'aliased_event ' ];
@@ -251,7 +251,7 @@ public function testAliasedEventListener(): void
251251 $ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
252252 }
253253
254- public function testOmitEventNameOnTypedListener (): void
254+ public function testOmitEventNameOnTypedListener ()
255255 {
256256 $ container = new ContainerBuilder ();
257257 $ container ->setParameter ('event_dispatcher.event_aliases ' , [AliasedEvent::class => 'aliased_event ' ]);
@@ -284,7 +284,7 @@ public function testOmitEventNameOnTypedListener(): void
284284 $ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
285285 }
286286
287- public function testOmitEventNameOnUntypedListener (): void
287+ public function testOmitEventNameOnUntypedListener ()
288288 {
289289 $ container = new ContainerBuilder ();
290290 $ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' , ['method ' => 'onEvent ' ]);
@@ -297,7 +297,7 @@ public function testOmitEventNameOnUntypedListener(): void
297297 $ registerListenersPass ->process ($ container );
298298 }
299299
300- public function testOmitEventNameAndMethodOnUntypedListener (): void
300+ public function testOmitEventNameAndMethodOnUntypedListener ()
301301 {
302302 $ container = new ContainerBuilder ();
303303 $ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' );
@@ -313,7 +313,7 @@ public function testOmitEventNameAndMethodOnUntypedListener(): void
313313 /**
314314 * @requires PHP 7.2
315315 */
316- public function testOmitEventNameAndMethodOnGenericListener (): void
316+ public function testOmitEventNameAndMethodOnGenericListener ()
317317 {
318318 $ container = new ContainerBuilder ();
319319 $ container ->register ('foo ' , GenericListener::class)->addTag ('kernel.event_listener ' );
@@ -326,7 +326,7 @@ public function testOmitEventNameAndMethodOnGenericListener(): void
326326 $ registerListenersPass ->process ($ container );
327327 }
328328
329- public function testOmitEventNameOnSubscriber (): void
329+ public function testOmitEventNameOnSubscriber ()
330330 {
331331 $ container = new ContainerBuilder ();
332332 $ container ->register ('subscriber ' , IncompleteSubscriber::class)
0 commit comments