diff --git a/composer.json b/composer.json index 723bbe5..db69a39 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,14 @@ "description": "Create recovery codes for two factor auth", "keywords": [ "pragmarx", - "recovery" + "2fa", + "google2fa", + "auth", + "two factor auth", + "account recovery", + "recovery", + "recovery codes", + "backup codes" ], "homepage": "https://github.com/antonioribeiro/recovery", "license": "MIT", diff --git a/src/Recovery.php b/src/Recovery.php index 1b2d964..e9121e2 100644 --- a/src/Recovery.php +++ b/src/Recovery.php @@ -32,6 +32,18 @@ public function __construct(Random $random = null) $this->random = $random; } + /** + * Set to alpha codes. + * + * @return Recovery + */ + public function alpha() + { + $this->random->alpha(); + + return $this; + } + /** * Generate the recovery codes. * @@ -147,18 +159,6 @@ public function numeric() return $this; } - /** - * Set to alpha codes. - * - * @return Recovery - */ - public function alpha() - { - $this->random->alpha(); - - return $this; - } - /** * Get an array of recovery codes. *