diff options
author | Christian Flothmann <christian.flothmann@xabbuh.de> | 2014-07-26 14:09:47 +0200 |
---|---|---|
committer | Christian Flothmann <christian.flothmann@xabbuh.de> | 2014-08-02 08:27:27 +0200 |
commit | 4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c (patch) | |
tree | 04912a2771b147d6c2c18948bce6d4c672f642ad | |
parent | 40b6edad8ed1fdfa3cca03f695187335406cde2d (diff) | |
download | symfony-security-4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c.zip symfony-security-4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c.tar.gz symfony-security-4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c.tar.bz2 |
fix some docblocks
-rw-r--r-- | Acl/Dbal/MutableAclProvider.php | 6 | ||||
-rw-r--r-- | Core/Encoder/BCryptPasswordEncoder.php | 2 | ||||
-rw-r--r-- | Core/Encoder/BasePasswordEncoder.php | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/Acl/Dbal/MutableAclProvider.php b/Acl/Dbal/MutableAclProvider.php index 42803ac..b8f5fb8 100644 --- a/Acl/Dbal/MutableAclProvider.php +++ b/Acl/Dbal/MutableAclProvider.php @@ -801,12 +801,12 @@ QUERY; } /** - * This process old entries changes on an ACE related property (classFieldAces, or objectFieldAces). + * This processes old entries changes on an ACE related property (classFieldAces, or objectFieldAces). * * @param string $name - * @param array $changes + * @param array $changes */ - private function updateOldFieldAceProperty($ane, array $changes) + private function updateOldFieldAceProperty($name, array $changes) { $currentIds = array(); foreach ($changes[1] as $field => $new) { diff --git a/Core/Encoder/BCryptPasswordEncoder.php b/Core/Encoder/BCryptPasswordEncoder.php index 1dcf3a6..27a7334 100644 --- a/Core/Encoder/BCryptPasswordEncoder.php +++ b/Core/Encoder/BCryptPasswordEncoder.php @@ -61,6 +61,8 @@ class BCryptPasswordEncoder extends BasePasswordEncoder * * @return string The encoded password * + * @throws BadCredentialsException when the given password is too long + * * @link http://lxr.php.net/xref/PHP_5_5/ext/standard/password.c#111 */ public function encodePassword($raw, $salt) diff --git a/Core/Encoder/BasePasswordEncoder.php b/Core/Encoder/BasePasswordEncoder.php index b27c2b0..5bf223b 100644 --- a/Core/Encoder/BasePasswordEncoder.php +++ b/Core/Encoder/BasePasswordEncoder.php @@ -89,6 +89,8 @@ abstract class BasePasswordEncoder implements PasswordEncoderInterface /** * Checks if the password is too long. * + * @param string $password The password to check + * * @return bool true if the password is too long, false otherwise */ protected function isPasswordTooLong($password) |