mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
Use lowercase for primitive type 'string'
Change-Id: I00a825b873b3647fba68a9683a0c0804fec9d2cb
This commit is contained in:
parent
8faf553925
commit
bce8776341
|
@ -120,7 +120,7 @@ class TOTPEnableForm extends OATHAuthOOUIHTMLForm implements IManageForm {
|
|||
* The characters of the token are split in groups of 4
|
||||
*
|
||||
* @param TOTPKey $key
|
||||
* @return String
|
||||
* @return string
|
||||
*/
|
||||
protected function getSecretForDisplay( TOTPKey $key ) {
|
||||
return $this->tokenFormatterFunction( $key->getSecret() );
|
||||
|
|
|
@ -55,7 +55,7 @@ class OATHUser {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return String
|
||||
* @return string
|
||||
*/
|
||||
public function getIssuer() {
|
||||
global $wgSitename, $wgOATHAuthAccountPrefix;
|
||||
|
@ -67,7 +67,7 @@ class OATHUser {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return String
|
||||
* @return string
|
||||
*/
|
||||
public function getAccount() {
|
||||
return $this->user->getName();
|
||||
|
|
Loading…
Reference in a new issue