Skip to content

Commit ef76575

Browse files
author
Peter
committed
update:2.0.2
1 parent 787a804 commit ef76575

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Attestation/AttestationObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function getCertificateSubject(): string
157157
* returns the key certificate in PEM format
158158
* @return string
159159
*/
160-
public function getCertificatePem(): string
160+
public function getCertificatePem(): ?string
161161
{
162162
return $this->_attestationFormat->getCertificatePem();
163163
}

src/WebAuthn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class WebAuthn
1818
private string $_rpId;
1919
private string $_rpIdHash;
2020
private $_challenge;
21-
private ?int $_signatureCounter;
21+
private ?int $_signatureCounter = null;
2222
private $_caFiles;
2323
private $_formats;
2424
private $_androidKeyHashes;

0 commit comments

Comments
 (0)