Skip to content

Commit

Permalink
Tidy imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Firehed committed Aug 28, 2023
1 parent a810868 commit a7f1edd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CacheChallengeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
use Psr\SimpleCache\CacheInterface;
use UnexpectedValueException;

use function sprintf;

class CacheChallengeManager implements ChallengeManagerInterface
{
public function __construct(
Expand Down
5 changes: 5 additions & 0 deletions src/SessionChallengeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

namespace Firehed\WebAuthn;

use function array_key_exists;
use function session_status;

use const PHP_SESSION_ACTIVE;

class SessionChallengeManager implements ChallengeManagerInterface
{
private const SESSION_KEY = 'passkey_challenge';
Expand Down

0 comments on commit a7f1edd

Please sign in to comment.