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

Commit

Permalink
Add missing type hints, fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
scheb committed Feb 15, 2020
1 parent bcc3568 commit c7a8647
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -47,7 +47,7 @@ protected function setUp(): void
/**
* @test
*/
public function loginSuccess_noATwoFactorToken_forwardCall()
public function loginSuccess_noTwoFactorToken_forwardCall(): void
{
$token = $this->createMock(TokenInterface::class);
$this->innerRememberMeServices
Expand All @@ -65,7 +65,7 @@ public function loginSuccess_noATwoFactorToken_forwardCall()
/**
* @test
*/
public function loginSuccess_isTwoFactorToken_setRememberMeAttribute()
public function loginSuccess_isTwoFactorToken_setRememberMeAttribute(): void
{
$token = $this->createMock(TwoFactorTokenInterface::class);

Expand Down
Expand Up @@ -69,7 +69,7 @@ private function createRequestWithHost(string $host = 'example.org'): MockObject
/**
* @return MockObject|FilterResponseEvent|RequestEvent
*/
private function createEventWithRequest(MockObject $request)
private function createEventWithRequest(MockObject $request): MockObject
{
// Symfony < 4.3
if (!class_exists(RequestEvent::class)) {
Expand Down

0 comments on commit c7a8647

Please sign in to comment.