Skip to content

Commit 2a73565

Browse files
Remove "void" return type from SecretsRevealCommandTest
1 parent a550232 commit 2a73565

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Command/SecretsRevealCommandTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
class SecretsRevealCommandTest extends TestCase
2222
{
23-
public function testExecute(): void
23+
public function testExecute()
2424
{
2525
$vault = $this->createMock(AbstractVault::class);
2626
$vault->method('list')->willReturn(['secretKey' => 'secretValue']);
@@ -33,7 +33,7 @@ public function testExecute(): void
3333
$this->assertEquals('secretValue', trim($tester->getDisplay(true)));
3434
}
3535

36-
public function testInvalidName(): void
36+
public function testInvalidName()
3737
{
3838
$vault = $this->createMock(AbstractVault::class);
3939
$vault->method('list')->willReturn(['secretKey' => 'secretValue']);
@@ -49,7 +49,7 @@ public function testInvalidName(): void
4949
/**
5050
* @backupGlobals enabled
5151
*/
52-
public function testLocalVaultOverride(): void
52+
public function testLocalVaultOverride()
5353
{
5454
$vault = $this->createMock(AbstractVault::class);
5555
$vault->method('list')->willReturn(['secretKey' => 'secretValue']);
@@ -68,7 +68,7 @@ public function testLocalVaultOverride(): void
6868
/**
6969
* @backupGlobals enabled
7070
*/
71-
public function testOnlyLocalVaultContainsName(): void
71+
public function testOnlyLocalVaultContainsName()
7272
{
7373
$vault = $this->createMock(AbstractVault::class);
7474
$vault->method('list')->willReturn(['otherKey' => 'secretValue']);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy