diff options
author | Joseph Bielawski <stloyd@gmail.com> | 2014-01-17 10:30:22 +0100 |
---|---|---|
committer | Joseph Bielawski <stloyd@gmail.com> | 2014-01-17 10:30:22 +0100 |
commit | 916ee032f85e3bba7b6e5fb05b807d27d4267640 (patch) | |
tree | 9f712835b1de39fda0271b493927d2b6a0bb99df /Core/Validator/Constraints | |
parent | bcdebea77d289cc60ca17f135edd6cd95f4991fa (diff) | |
download | symfony-security-916ee032f85e3bba7b6e5fb05b807d27d4267640.zip symfony-security-916ee032f85e3bba7b6e5fb05b807d27d4267640.tar.gz symfony-security-916ee032f85e3bba7b6e5fb05b807d27d4267640.tar.bz2 |
[Component/Security] Fixed some phpdocs in Security/Core
Diffstat (limited to 'Core/Validator/Constraints')
-rw-r--r-- | Core/Validator/Constraints/UserPassword.php | 3 | ||||
-rw-r--r-- | Core/Validator/Constraints/UserPasswordValidator.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Core/Validator/Constraints/UserPassword.php b/Core/Validator/Constraints/UserPassword.php index ed29b0c..76c4b3b 100644 --- a/Core/Validator/Constraints/UserPassword.php +++ b/Core/Validator/Constraints/UserPassword.php @@ -21,6 +21,9 @@ class UserPassword extends Constraint public $message = 'This value should be the user current password.'; public $service = 'security.validator.user_password'; + /** + * {@inheritdoc} + */ public function validatedBy() { return $this->service; diff --git a/Core/Validator/Constraints/UserPasswordValidator.php b/Core/Validator/Constraints/UserPasswordValidator.php index a4e0f90..ab455f3 100644 --- a/Core/Validator/Constraints/UserPasswordValidator.php +++ b/Core/Validator/Constraints/UserPasswordValidator.php @@ -29,6 +29,9 @@ class UserPasswordValidator extends ConstraintValidator $this->encoderFactory = $encoderFactory; } + /** + * {@inheritdoc} + */ public function validate($password, Constraint $constraint) { $user = $this->securityContext->getToken()->getUser(); |