Skip to content

Commit

Permalink
Change return type to parent
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Jun 26, 2024
1 parent 2e55313 commit 3b6082a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

use Psr\Log\LoggerInterface;
use Surfnet\StepupMiddlewareClient\Identity\Dto\RecoveryTokenSearchQuery;
use Surfnet\StepupMiddlewareClientBundle\Dto\CollectionDto;
use Surfnet\StepupMiddlewareClientBundle\Identity\Command\RevokeRegistrantsRecoveryTokenCommand;
use Surfnet\StepupMiddlewareClientBundle\Identity\Dto\RecoveryTokenCollection;
use Surfnet\StepupMiddlewareClientBundle\Identity\Service\RecoveryTokenService as ApiRecoveryTokenService;
Expand Down Expand Up @@ -57,7 +58,7 @@ public function revoke(RevokeRecoveryTokenCommand $command): bool
return $result->isSuccessful();
}

public function search(SearchRecoveryTokensCommand $command): RecoveryTokenCollection
public function search(SearchRecoveryTokensCommand $command): CollectionDto
{
$query = new RecoveryTokenSearchQuery($command->pageNumber, $command->actorId);

Expand Down

0 comments on commit 3b6082a

Please sign in to comment.