Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit c7a8647

Browse files
committed
Add missing type hints, fix method name
1 parent bcc3568 commit c7a8647

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/Security/Authentication/RememberMe/RememberMeServicesDecoratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function setUp(): void
4747
/**
4848
* @test
4949
*/
50-
public function loginSuccess_noATwoFactorToken_forwardCall()
50+
public function loginSuccess_noTwoFactorToken_forwardCall(): void
5151
{
5252
$token = $this->createMock(TokenInterface::class);
5353
$this->innerRememberMeServices
@@ -65,7 +65,7 @@ public function loginSuccess_noATwoFactorToken_forwardCall()
6565
/**
6666
* @test
6767
*/
68-
public function loginSuccess_isTwoFactorToken_setRememberMeAttribute()
68+
public function loginSuccess_isTwoFactorToken_setRememberMeAttribute(): void
6969
{
7070
$token = $this->createMock(TwoFactorTokenInterface::class);
7171

Tests/Security/TwoFactor/Trusted/TrustedCookieResponseListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private function createRequestWithHost(string $host = 'example.org'): MockObject
6969
/**
7070
* @return MockObject|FilterResponseEvent|RequestEvent
7171
*/
72-
private function createEventWithRequest(MockObject $request)
72+
private function createEventWithRequest(MockObject $request): MockObject
7373
{
7474
// Symfony < 4.3
7575
if (!class_exists(RequestEvent::class)) {

0 commit comments

Comments
 (0)