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

Commit

Permalink
Remove PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
scheb committed Mar 4, 2018
1 parent 20b9423 commit 22d78df
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ protected function setUp()
$this->provider = new EmailTwoFactorProvider($this->generator, $formRenderer);
}

/**
* @param bool $emailAuthEnabled
*
* @return MockObject|TwoFactorInterface
*/
private function createUser($emailAuthEnabled = true)
private function createUser(bool $emailAuthEnabled = true): MockObject
{
$user = $this->createMock(TwoFactorInterface::class);
$user
Expand All @@ -52,12 +47,7 @@ private function createUser($emailAuthEnabled = true)
return $user;
}

/**
* @param MockObject $user
*
* @return MockObject|AuthenticationContextInterface
*/
private function createAuthenticationContext($user = null)
private function createAuthenticationContext($user = null): MockObject
{
$authContext = $this->createMock(AuthenticationContextInterface::class);
$authContext
Expand Down

0 comments on commit 22d78df

Please sign in to comment.