File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 44
55class 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 {
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments