Merge "OATHUser: Drop getFirstKey()"

This commit is contained in:
jenkins-bot 2024-05-04 08:11:44 +00:00 committed by Gerrit Code Review
commit 3559c5d7cf

View file

@ -87,17 +87,6 @@ class OATHUser {
return $this->keys;
}
/**
* Useful for modules that operate on single-key premise,
* as well as testing the key type, since the first key is(?)
* necessarily the same type as others
*
* @return IAuthKey|null
*/
public function getFirstKey() {
return $this->keys[0] ?? null;
}
/**
* Set the key associated with this user.
*