Skip to content

Commit

Permalink
Return types and FQCN imports
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Nov 29, 2023
1 parent b05da9a commit 2481395
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@

class YubikeySecondFactorService
{
public function __construct(private readonly YubikeyService $yubikeyService, private readonly CommandService $commandService)
{
public function __construct(
private readonly YubikeyService $yubikeyService,
private readonly CommandService $commandService,
) {
}

/**
* @return ProofOfPossessionResult
*/
public function provePossession(VerifyYubikeyOtpCommand $command): \Surfnet\StepupSelfService\SelfServiceBundle\Service\YubikeySecondFactor\ProofOfPossessionResult
public function provePossession(VerifyYubikeyOtpCommand $command): ProofOfPossessionResult
{
$verificationResult = $this->yubikeyService->verify($command);

Expand Down

0 comments on commit 2481395

Please sign in to comment.