File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 4
4
5
5
class Registration
6
6
{
7
- /** The key handle of the registered authenticator */
7
+ /** @var string The key handle of the registered authenticator */
8
8
protected $ keyHandle ;
9
- /** The public key of the registered authenticator */
9
+ /** @var string The public key of the registered authenticator */
10
10
protected $ publicKey ;
11
- /** The attestation certificate of the registered authenticator */
11
+ /** @var string The attestation certificate of the registered authenticator */
12
12
protected $ certificate ;
13
- /** The counter associated with this registration */
13
+ /** @var int The counter associated with this registration */
14
14
protected $ counter = -1 ;
15
15
16
- /**
16
+ /**
17
17
* @param string $keyHandle
18
+ * @return void
18
19
*/
19
20
public function setKeyHandle ($ keyHandle )
20
21
{
@@ -23,6 +24,7 @@ public function setKeyHandle($keyHandle)
23
24
24
25
/**
25
26
* @param string $publicKey
27
+ * @return void
26
28
*/
27
29
public function setPublicKey ($ publicKey )
28
30
{
@@ -31,6 +33,7 @@ public function setPublicKey($publicKey)
31
33
32
34
/**
33
35
* @param string $certificate
36
+ * @return void
34
37
*/
35
38
public function setCertificate ($ certificate )
36
39
{
@@ -62,7 +65,7 @@ public function getCertificate()
62
65
}
63
66
64
67
/**
65
- * @return string
68
+ * @return int
66
69
*/
67
70
public function getCounter ()
68
71
{
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class U2FServer
36
36
37
37
/**
38
38
* @throws U2FException If OpenSSL older than 1.0.0 is used
39
+ * @return true
39
40
*/
40
41
public static function checkOpenSSLVersion ()
41
42
{
You can’t perform that action at this time.
0 commit comments