Skip to content

Commit 5744f80

Browse files
committed
add camel case constants
1 parent 5331525 commit 5744f80

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/Illuminate/Support/Facades/Password.php

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,44 @@
2222
class Password extends Facade
2323
{
2424
/**
25-
* Constant representing a successfully sent reminder.
25+
* Constant representing a successfully sent password reset email.
2626
*
2727
* @var string
2828
*/
29-
const RESET_LINK_SENT = PasswordBroker::RESET_LINK_SENT;
29+
const ResetLinkSent = PasswordBroker::RESET_LINK_SENT;
3030

3131
/**
3232
* Constant representing a successfully reset password.
3333
*
3434
* @var string
3535
*/
36-
const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET;
36+
const PasswordReset = PasswordBroker::PASSWORD_RESET;
3737

3838
/**
39-
* Constant representing the user not found response.
39+
* Constant indicating the user could not be found when attempting a password reset.
4040
*
4141
* @var string
4242
*/
43-
const INVALID_USER = PasswordBroker::INVALID_USER;
43+
const InvalidUser = PasswordBroker::INVALID_USER;
4444

4545
/**
46-
* Constant representing an invalid token.
46+
* Constant representing an invalid password reset token.
4747
*
4848
* @var string
4949
*/
50-
const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN;
50+
const InvalidToken = PasswordBroker::INVALID_TOKEN;
5151

5252
/**
53-
* Constant representing a throttled reset attempt.
53+
* Constant representing a throttled password reset attempt.
5454
*
5555
* @var string
5656
*/
57+
const ResetThrottled = PasswordBroker::RESET_THROTTLED;
58+
59+
const RESET_LINK_SENT = PasswordBroker::RESET_LINK_SENT;
60+
const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET;
61+
const INVALID_USER = PasswordBroker::INVALID_USER;
62+
const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN;
5763
const RESET_THROTTLED = PasswordBroker::RESET_THROTTLED;
5864

5965
/**

0 commit comments

Comments
 (0)