Skip to content

Commit f126cf1

Browse files
committed
Remove void return type from test methods
1 parent 5eeb957 commit f126cf1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSecurityVotersPassTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function testThatSecurityVotersAreProcessedInPriorityOrder()
7171
$this->assertCount(4, $refs);
7272
}
7373

74-
public function testThatVotersAreTraceableInDebugMode(): void
74+
public function testThatVotersAreTraceableInDebugMode()
7575
{
7676
$container = new ContainerBuilder();
7777

@@ -103,7 +103,7 @@ public function testThatVotersAreTraceableInDebugMode(): void
103103
$this->assertCount(2, $voters, 'Incorrect count of voters');
104104
}
105105

106-
public function testThatVotersAreNotTraceableWithoutDebugMode(): void
106+
public function testThatVotersAreNotTraceableWithoutDebugMode()
107107
{
108108
$container = new ContainerBuilder();
109109
$container->setParameter('kernel.debug', false);

src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/ExceptionListenerPassTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class ExceptionListenerPassTest extends TestCase
2121
{
22-
public function testExitsWhenTwigIsNotAvailable(): void
22+
public function testExitsWhenTwigIsNotAvailable()
2323
{
2424
$builder = new ContainerBuilder();
2525
$builder->register('exception_listener', ExceptionListener::class);

0 commit comments

Comments
 (0)