summaryrefslogtreecommitdiffstats
path: root/Core/Encoder
diff options
context:
space:
mode:
authorChristian Flothmann <christian.flothmann@xabbuh.de>2014-07-26 14:09:47 +0200
committerChristian Flothmann <christian.flothmann@xabbuh.de>2014-08-02 08:27:27 +0200
commit4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c (patch)
tree04912a2771b147d6c2c18948bce6d4c672f642ad /Core/Encoder
parent40b6edad8ed1fdfa3cca03f695187335406cde2d (diff)
downloadsymfony-security-4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c.zip
symfony-security-4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c.tar.gz
symfony-security-4bfc7e3e37c3d57591f439057c4f3e94e99c0c7c.tar.bz2
fix some docblocks
Diffstat (limited to 'Core/Encoder')
-rw-r--r--Core/Encoder/BCryptPasswordEncoder.php2
-rw-r--r--Core/Encoder/BasePasswordEncoder.php2
2 files changed, 4 insertions, 0 deletions
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)