summaryrefslogtreecommitdiffstats
path: root/Core/Encoder/MessageDigestPasswordEncoder.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2014-04-12 19:54:57 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2014-04-15 07:41:45 +0200
commitc9dff33575d2eb04e34c31167f5fba8bf3f355d6 (patch)
treebb0d00d583d307107cc228429fa4a0379c08c9b9 /Core/Encoder/MessageDigestPasswordEncoder.php
parentb2718821b6325d65b9b51eecb671f84605716af6 (diff)
downloadsymfony-security-c9dff33575d2eb04e34c31167f5fba8bf3f355d6.zip
symfony-security-c9dff33575d2eb04e34c31167f5fba8bf3f355d6.tar.gz
symfony-security-c9dff33575d2eb04e34c31167f5fba8bf3f355d6.tar.bz2
made phpdoc types consistent with those defined in Hack
Diffstat (limited to 'Core/Encoder/MessageDigestPasswordEncoder.php')
-rw-r--r--Core/Encoder/MessageDigestPasswordEncoder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Encoder/MessageDigestPasswordEncoder.php b/Core/Encoder/MessageDigestPasswordEncoder.php
index a7e5546..9aa240a 100644
--- a/Core/Encoder/MessageDigestPasswordEncoder.php
+++ b/Core/Encoder/MessageDigestPasswordEncoder.php
@@ -28,8 +28,8 @@ class MessageDigestPasswordEncoder extends BasePasswordEncoder
* Constructor.
*
* @param string $algorithm The digest algorithm to use
- * @param Boolean $encodeHashAsBase64 Whether to base64 encode the password hash
- * @param integer $iterations The number of iterations to use to stretch the password hash
+ * @param bool $encodeHashAsBase64 Whether to base64 encode the password hash
+ * @param int $iterations The number of iterations to use to stretch the password hash
*/
public function __construct($algorithm = 'sha512', $encodeHashAsBase64 = true, $iterations = 5000)
{