Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 277b781

Browse files
committed
merged branch gimler/encoder_fix (PR #3122)
Commits ------- f3c413d add missing class var; add phpdocs Discussion ---------- add missing class var; add phpdocs Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes --------------------------------------------------------------------------- by fabpot at 2012-01-16T11:12:27Z We don't document properties, especially private ones. --------------------------------------------------------------------------- by vicb at 2012-01-16T11:20:44Z Good doc always help and should be accepted even for private properties. However sometimes doc isn't necessary: `The digest algorithm to use` does not bring more information than the name itself `MessageDigestPasswordEncoder::algorithm`, the `@var` annotation could be useful - even more for objects & arrays. --------------------------------------------------------------------------- by gimler at 2012-01-16T11:37:54Z i have remove the private property comments.
2 parents b8d8cab + f3c413d commit 277b781

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Symfony/Component/Security/Core/Encoder/MessageDigestPasswordEncoder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class MessageDigestPasswordEncoder extends BasePasswordEncoder
2020
{
2121
private $algorithm;
2222
private $encodeHashAsBase64;
23+
private $iterations;
2324

2425
/**
2526
* Constructor.

src/Symfony/Component/Security/Core/Encoder/PlaintextPasswordEncoder.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ class PlaintextPasswordEncoder extends BasePasswordEncoder
2020
{
2121
private $ignorePasswordCase;
2222

23+
/**
24+
* Constructor.
25+
*
26+
* @param Boolean $ignorePasswordCase Compare password case-insensitive
27+
*/
2328
public function __construct($ignorePasswordCase = false)
2429
{
2530
$this->ignorePasswordCase = $ignorePasswordCase;

0 commit comments

Comments
 (0)