@@ -22,10 +22,10 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | class UserSetup { |
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * The encoder to use. |
|
| 27 | - */ |
|
| 28 | - protected $encoder; |
|
| 25 | + /** |
|
| 26 | + * The encoder to use. |
|
| 27 | + */ |
|
| 28 | + protected $encoder; |
|
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * Gets a closure for possibly generating a password hash in the entity. |
@@ -69,10 +69,10 @@ discard block |
||
| 69 | 69 | * the encoder to use, defaults to BCryptPasswordEncoder if null is given |
| 70 | 70 | */ |
| 71 | 71 | public function __construct(PasswordEncoderInterface $encoder = null) { |
| 72 | - $this->encoder = $passwordEncoder; |
|
| 73 | - if ($this->encoder === null) { |
|
| 74 | - $this->encoder = new BCryptPasswordEncoder(13); |
|
| 75 | - } |
|
| 72 | + $this->encoder = $passwordEncoder; |
|
| 73 | + if ($this->encoder === null) { |
|
| 74 | + $this->encoder = new BCryptPasswordEncoder(13); |
|
| 75 | + } |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |