@@ -170,9 +170,9 @@ |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | - * {@inheritdoc} |
|
| 174 | - * @return mixed |
|
| 175 | - */ |
|
| 173 | + * {@inheritdoc} |
|
| 174 | + * @return mixed |
|
| 175 | + */ |
|
| 176 | 176 | public function jsonSerialize() |
| 177 | 177 | { |
| 178 | 178 | return get_object_vars($this); |
@@ -113,9 +113,9 @@ |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | - * {@inheritdoc} |
|
| 117 | - * @return mixed |
|
| 118 | - */ |
|
| 116 | + * {@inheritdoc} |
|
| 117 | + * @return mixed |
|
| 118 | + */ |
|
| 119 | 119 | public function jsonSerialize() |
| 120 | 120 | { |
| 121 | 121 | return get_object_vars($this); |
@@ -214,9 +214,9 @@ |
||
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | /** |
| 217 | - * {@inheritdoc} |
|
| 218 | - * @return mixed |
|
| 219 | - */ |
|
| 217 | + * {@inheritdoc} |
|
| 218 | + * @return mixed |
|
| 219 | + */ |
|
| 220 | 220 | public function jsonSerialize() |
| 221 | 221 | { |
| 222 | 222 | return get_object_vars($this); |
@@ -113,9 +113,9 @@ |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | - * {@inheritdoc} |
|
| 117 | - * @return mixed |
|
| 118 | - */ |
|
| 116 | + * {@inheritdoc} |
|
| 117 | + * @return mixed |
|
| 118 | + */ |
|
| 119 | 119 | public function jsonSerialize() |
| 120 | 120 | { |
| 121 | 121 | return get_object_vars($this); |
@@ -102,9 +102,9 @@ |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
| 105 | - * {@inheritdoc} |
|
| 106 | - * @return mixed |
|
| 107 | - */ |
|
| 105 | + * {@inheritdoc} |
|
| 106 | + * @return mixed |
|
| 107 | + */ |
|
| 108 | 108 | public function jsonSerialize() |
| 109 | 109 | { |
| 110 | 110 | return get_object_vars($this); |
@@ -63,9 +63,9 @@ |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | - * {@inheritdoc} |
|
| 67 | - * @return mixed |
|
| 68 | - */ |
|
| 66 | + * {@inheritdoc} |
|
| 67 | + * @return mixed |
|
| 68 | + */ |
|
| 69 | 69 | public function jsonSerialize() |
| 70 | 70 | { |
| 71 | 71 | return get_object_vars($this); |
@@ -102,9 +102,9 @@ |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
| 105 | - * {@inheritdoc} |
|
| 106 | - * @return mixed |
|
| 107 | - */ |
|
| 105 | + * {@inheritdoc} |
|
| 106 | + * @return mixed |
|
| 107 | + */ |
|
| 108 | 108 | public function jsonSerialize() |
| 109 | 109 | { |
| 110 | 110 | return get_object_vars($this); |
@@ -332,9 +332,9 @@ discard block |
||
| 332 | 332 | } |
| 333 | 333 | |
| 334 | 334 | /** |
| 335 | - * Return the binary string |
|
| 336 | - * @return string |
|
| 337 | - */ |
|
| 335 | + * Return the binary string |
|
| 336 | + * @return string |
|
| 337 | + */ |
|
| 338 | 338 | public function getBinaryString(): string |
| 339 | 339 | { |
| 340 | 340 | return $this->data; |
@@ -361,9 +361,9 @@ discard block |
||
| 361 | 361 | } |
| 362 | 362 | |
| 363 | 363 | /** |
| 364 | - * {@inheritdoc} |
|
| 365 | - * @return mixed |
|
| 366 | - */ |
|
| 364 | + * {@inheritdoc} |
|
| 365 | + * @return mixed |
|
| 366 | + */ |
|
| 367 | 367 | public function jsonSerialize() |
| 368 | 368 | { |
| 369 | 369 | if ($this->useBase64UrlEncoding) { |
@@ -377,18 +377,18 @@ discard block |
||
| 377 | 377 | } |
| 378 | 378 | |
| 379 | 379 | /** |
| 380 | - * {@inheritdoc} |
|
| 381 | - * @return string|null |
|
| 382 | - */ |
|
| 380 | + * {@inheritdoc} |
|
| 381 | + * @return string|null |
|
| 382 | + */ |
|
| 383 | 383 | public function serialize(): ?string |
| 384 | 384 | { |
| 385 | 385 | return serialize($this->data); |
| 386 | 386 | } |
| 387 | 387 | |
| 388 | 388 | /** |
| 389 | - * {@inheritdoc} |
|
| 390 | - * $param string $data |
|
| 391 | - */ |
|
| 389 | + * {@inheritdoc} |
|
| 390 | + * $param string $data |
|
| 391 | + */ |
|
| 392 | 392 | public function unserialize($data): void |
| 393 | 393 | { |
| 394 | 394 | $value = unserialize($data); |
@@ -149,15 +149,15 @@ discard block |
||
| 149 | 149 | ); |
| 150 | 150 | |
| 151 | 151 | $publicKey = (new PublicKey()) |
| 152 | - ->setUserInfo($userInfo) |
|
| 153 | - ->setReplyParty($replyParty) |
|
| 154 | - ->setAuthenticatorSelection($authenticatorSelection) |
|
| 155 | - ->setExcludeCredentials($excludeCredentials) |
|
| 156 | - ->setChallenge($this->createChallenge()) |
|
| 157 | - ->setTimeout($this->config->get('timeout')) |
|
| 158 | - ->setExtensions() |
|
| 159 | - ->addPublicKeys() |
|
| 160 | - ->setAttestation($attestation); |
|
| 152 | + ->setUserInfo($userInfo) |
|
| 153 | + ->setReplyParty($replyParty) |
|
| 154 | + ->setAuthenticatorSelection($authenticatorSelection) |
|
| 155 | + ->setExcludeCredentials($excludeCredentials) |
|
| 156 | + ->setChallenge($this->createChallenge()) |
|
| 157 | + ->setTimeout($this->config->get('timeout')) |
|
| 158 | + ->setExtensions() |
|
| 159 | + ->addPublicKeys() |
|
| 160 | + ->setAttestation($attestation); |
|
| 161 | 161 | |
| 162 | 162 | return $publicKey; |
| 163 | 163 | } |
@@ -186,11 +186,11 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | $publicKey = (new PublicKey()) |
| 189 | - ->setReplyPartyId($this->replyParty->getId()) |
|
| 190 | - ->setAllowCredentials($allowedCredentials) |
|
| 191 | - ->setChallenge($this->createChallenge()) |
|
| 192 | - ->setTimeout($this->config->get('timeout')) |
|
| 193 | - ->setUserVerificationType($userVerificationType); |
|
| 189 | + ->setReplyPartyId($this->replyParty->getId()) |
|
| 190 | + ->setAllowCredentials($allowedCredentials) |
|
| 191 | + ->setChallenge($this->createChallenge()) |
|
| 192 | + ->setTimeout($this->config->get('timeout')) |
|
| 193 | + ->setUserVerificationType($userVerificationType); |
|
| 194 | 194 | |
| 195 | 195 | return $publicKey; |
| 196 | 196 | } |