Skip to content

Commit 919708c

Browse files
committedJul 24, 2024
docs: improve and fix doc blocs
1 parent f7a3b7e commit 919708c

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed
 

‎src/Registration.php

+9-6
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44

55
class Registration
66
{
7-
/** The key handle of the registered authenticator */
7+
/** @var string The key handle of the registered authenticator */
88
protected $keyHandle;
9-
/** The public key of the registered authenticator */
9+
/** @var string The public key of the registered authenticator */
1010
protected $publicKey;
11-
/** The attestation certificate of the registered authenticator */
11+
/** @var string The attestation certificate of the registered authenticator */
1212
protected $certificate;
13-
/** The counter associated with this registration */
13+
/** @var int The counter associated with this registration */
1414
protected $counter = -1;
1515

16-
/**
16+
/**
1717
* @param string $keyHandle
18+
* @return void
1819
*/
1920
public function setKeyHandle($keyHandle)
2021
{
@@ -23,6 +24,7 @@ public function setKeyHandle($keyHandle)
2324

2425
/**
2526
* @param string $publicKey
27+
* @return void
2628
*/
2729
public function setPublicKey($publicKey)
2830
{
@@ -31,6 +33,7 @@ public function setPublicKey($publicKey)
3133

3234
/**
3335
* @param string $certificate
36+
* @return void
3437
*/
3538
public function setCertificate($certificate)
3639
{
@@ -62,7 +65,7 @@ public function getCertificate()
6265
}
6366

6467
/**
65-
* @return string
68+
* @return int
6669
*/
6770
public function getCounter()
6871
{

‎src/U2FServer.php

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class U2FServer
3636

3737
/**
3838
* @throws U2FException If OpenSSL older than 1.0.0 is used
39+
* @return true
3940
*/
4041
public static function checkOpenSSLVersion()
4142
{

0 commit comments

Comments
 (0)