File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class AuthenticatorSelectionCriteria implements JsonSerializable
46
46
47
47
private string $ userVerification = self ::USER_VERIFICATION_REQUIREMENT_PREFERRED ;
48
48
49
- private string $ residentKey = self ::RESIDENT_KEY_REQUIREMENT_PREFERRED ;
49
+ private null | string $ residentKey = self ::RESIDENT_KEY_REQUIREMENT_PREFERRED ;
50
50
51
51
public static function create (): self
52
52
{
@@ -78,7 +78,7 @@ public function setUserVerification(string $userVerification): self
78
78
return $ this ;
79
79
}
80
80
81
- public function setResidentKey (string $ residentKey ): self
81
+ public function setResidentKey (null | string $ residentKey ): self
82
82
{
83
83
$ this ->residentKey = $ residentKey ;
84
84
//$this->requireResidentKey = $residentKey === self::RESIDENT_KEY_REQUIREMENT_REQUIRED;
@@ -104,7 +104,7 @@ public function getUserVerification(): string
104
104
return $ this ->userVerification ;
105
105
}
106
106
107
- public function getResidentKey (): string
107
+ public function getResidentKey (): null | string
108
108
{
109
109
return $ this ->residentKey ;
110
110
}
You can’t perform that action at this time.
0 commit comments