Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 2.0625 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | 1 | public function verify(AttestationStatementInterface $attStmt, AuthenticatorData $authenticatorData, string $clientDataHash): VerificationResult |
|
17 | { |
||
18 | 1 | if (!($attStmt instanceof NoneAttestationStatement)) { |
|
19 | throw new VerificationException('Expecting NoneAttestationStatement.'); |
||
20 | } |
||
21 | 1 | return new VerificationResult(AttestationType::NONE, new EmptyTrustPath()); |
|
22 | } |
||
33 |