@@ -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 ' ]);
@@ -231,7 +231,7 @@ public function testInvokableEventListener()
231231 $ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
232232 }
233233
234- public function testAliasedEventListener (): void
234+ public function testAliasedEventListener ()
235235 {
236236 $ container = new ContainerBuilder ();
237237 $ eventAliases = [AliasedEvent::class => 'aliased_event ' ];
@@ -272,7 +272,7 @@ public function testAliasedEventListener(): void
272272 $ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
273273 }
274274
275- public function testOmitEventNameOnTypedListener (): void
275+ public function testOmitEventNameOnTypedListener ()
276276 {
277277 $ container = new ContainerBuilder ();
278278 $ container ->setParameter ('event_dispatcher.event_aliases ' , [AliasedEvent::class => 'aliased_event ' ]);
@@ -305,7 +305,7 @@ public function testOmitEventNameOnTypedListener(): void
305305 $ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
306306 }
307307
308- public function testOmitEventNameOnUntypedListener (): void
308+ public function testOmitEventNameOnUntypedListener ()
309309 {
310310 $ container = new ContainerBuilder ();
311311 $ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' , ['method ' => 'onEvent ' ]);
@@ -318,7 +318,7 @@ public function testOmitEventNameOnUntypedListener(): void
318318 $ registerListenersPass ->process ($ container );
319319 }
320320
321- public function testOmitEventNameAndMethodOnUntypedListener (): void
321+ public function testOmitEventNameAndMethodOnUntypedListener ()
322322 {
323323 $ container = new ContainerBuilder ();
324324 $ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' );
@@ -334,7 +334,7 @@ public function testOmitEventNameAndMethodOnUntypedListener(): void
334334 /**
335335 * @requires PHP 7.2
336336 */
337- public function testOmitEventNameAndMethodOnGenericListener (): void
337+ public function testOmitEventNameAndMethodOnGenericListener ()
338338 {
339339 $ container = new ContainerBuilder ();
340340 $ container ->register ('foo ' , GenericListener::class)->addTag ('kernel.event_listener ' );
@@ -347,7 +347,7 @@ public function testOmitEventNameAndMethodOnGenericListener(): void
347347 $ registerListenersPass ->process ($ container );
348348 }
349349
350- public function testOmitEventNameOnSubscriber (): void
350+ public function testOmitEventNameOnSubscriber ()
351351 {
352352 $ container = new ContainerBuilder ();
353353 $ container ->register ('subscriber ' , IncompleteSubscriber::class)
0 commit comments