@@ -61,7 +61,7 @@ public function testValidEventSubscriber()
61
61
$ this ->assertEquals ($ expectedCalls , $ eventDispatcherDefinition ->getMethodCalls ());
62
62
}
63
63
64
- public function testAliasedEventSubscriber (): void
64
+ public function testAliasedEventSubscriber ()
65
65
{
66
66
$ builder = new ContainerBuilder ();
67
67
$ builder ->setParameter ('event_dispatcher.event_aliases ' , [AliasedEvent::class => 'aliased_event ' ]);
@@ -231,7 +231,7 @@ public function testInvokableEventListener()
231
231
$ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
232
232
}
233
233
234
- public function testAliasedEventListener (): void
234
+ public function testAliasedEventListener ()
235
235
{
236
236
$ container = new ContainerBuilder ();
237
237
$ eventAliases = [AliasedEvent::class => 'aliased_event ' ];
@@ -272,7 +272,7 @@ public function testAliasedEventListener(): void
272
272
$ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
273
273
}
274
274
275
- public function testOmitEventNameOnTypedListener (): void
275
+ public function testOmitEventNameOnTypedListener ()
276
276
{
277
277
$ container = new ContainerBuilder ();
278
278
$ container ->setParameter ('event_dispatcher.event_aliases ' , [AliasedEvent::class => 'aliased_event ' ]);
@@ -305,7 +305,7 @@ public function testOmitEventNameOnTypedListener(): void
305
305
$ this ->assertEquals ($ expectedCalls , $ definition ->getMethodCalls ());
306
306
}
307
307
308
- public function testOmitEventNameOnUntypedListener (): void
308
+ public function testOmitEventNameOnUntypedListener ()
309
309
{
310
310
$ container = new ContainerBuilder ();
311
311
$ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' , ['method ' => 'onEvent ' ]);
@@ -318,7 +318,7 @@ public function testOmitEventNameOnUntypedListener(): void
318
318
$ registerListenersPass ->process ($ container );
319
319
}
320
320
321
- public function testOmitEventNameAndMethodOnUntypedListener (): void
321
+ public function testOmitEventNameAndMethodOnUntypedListener ()
322
322
{
323
323
$ container = new ContainerBuilder ();
324
324
$ container ->register ('foo ' , InvokableListenerService::class)->addTag ('kernel.event_listener ' );
@@ -334,7 +334,7 @@ public function testOmitEventNameAndMethodOnUntypedListener(): void
334
334
/**
335
335
* @requires PHP 7.2
336
336
*/
337
- public function testOmitEventNameAndMethodOnGenericListener (): void
337
+ public function testOmitEventNameAndMethodOnGenericListener ()
338
338
{
339
339
$ container = new ContainerBuilder ();
340
340
$ container ->register ('foo ' , GenericListener::class)->addTag ('kernel.event_listener ' );
@@ -347,7 +347,7 @@ public function testOmitEventNameAndMethodOnGenericListener(): void
347
347
$ registerListenersPass ->process ($ container );
348
348
}
349
349
350
- public function testOmitEventNameOnSubscriber (): void
350
+ public function testOmitEventNameOnSubscriber ()
351
351
{
352
352
$ container = new ContainerBuilder ();
353
353
$ container ->register ('subscriber ' , IncompleteSubscriber::class)
0 commit comments