aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/User.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/User.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/User.php b/src/Wallabag/CoreBundle/Entity/User.php
index 00eb808a..510a1594 100644
--- a/src/Wallabag/CoreBundle/Entity/User.php
+++ b/src/Wallabag/CoreBundle/Entity/User.php
@@ -123,9 +123,9 @@ class User implements AdvancedUserInterface, \Serializable
123 public function __construct() 123 public function __construct()
124 { 124 {
125 $this->isActive = true; 125 $this->isActive = true;
126 $this->salt = md5(uniqid(null, true)); 126 $this->salt = md5(uniqid(null, true));
127 $this->entries = new ArrayCollection(); 127 $this->entries = new ArrayCollection();
128 $this->tags = new ArrayCollection(); 128 $this->tags = new ArrayCollection();
129 } 129 }
130 130
131 /** 131 /**
@@ -176,7 +176,7 @@ class User implements AdvancedUserInterface, \Serializable
176 } 176 }
177 177
178 /** 178 /**
179 * @inheritDoc 179 * {@inheritdoc}
180 */ 180 */
181 public function getSalt() 181 public function getSalt()
182 { 182 {
@@ -184,7 +184,7 @@ class User implements AdvancedUserInterface, \Serializable
184 } 184 }
185 185
186 /** 186 /**
187 * @inheritDoc 187 * {@inheritdoc}
188 */ 188 */
189 public function getRoles() 189 public function getRoles()
190 { 190 {
@@ -323,7 +323,7 @@ class User implements AdvancedUserInterface, \Serializable
323 return $this->tags; 323 return $this->tags;
324 } 324 }
325 /** 325 /**
326 * @inheritDoc 326 * {@inheritdoc}
327 */ 327 */
328 public function eraseCredentials() 328 public function eraseCredentials()
329 { 329 {