Skip to content

Commit

Permalink
add camel case constants
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 19, 2024
1 parent 5331525 commit 5744f80
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions src/Illuminate/Support/Facades/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,44 @@
class Password extends Facade
{
/**
* Constant representing a successfully sent reminder.
* Constant representing a successfully sent password reset email.
*
* @var string
*/
const RESET_LINK_SENT = PasswordBroker::RESET_LINK_SENT;
const ResetLinkSent = PasswordBroker::RESET_LINK_SENT;

/**
* Constant representing a successfully reset password.
*
* @var string
*/
const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET;
const PasswordReset = PasswordBroker::PASSWORD_RESET;

/**
* Constant representing the user not found response.
* Constant indicating the user could not be found when attempting a password reset.
*
* @var string
*/
const INVALID_USER = PasswordBroker::INVALID_USER;
const InvalidUser = PasswordBroker::INVALID_USER;

/**
* Constant representing an invalid token.
* Constant representing an invalid password reset token.
*
* @var string
*/
const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN;
const InvalidToken = PasswordBroker::INVALID_TOKEN;

/**
* Constant representing a throttled reset attempt.
* Constant representing a throttled password reset attempt.
*
* @var string
*/
const ResetThrottled = PasswordBroker::RESET_THROTTLED;

const RESET_LINK_SENT = PasswordBroker::RESET_LINK_SENT;
const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET;
const INVALID_USER = PasswordBroker::INVALID_USER;
const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN;
const RESET_THROTTLED = PasswordBroker::RESET_THROTTLED;

/**
Expand Down

0 comments on commit 5744f80

Please sign in to comment.