Commit 704119f7 by Yvon

clean and comment code

parent 0491fb26
......@@ -207,6 +207,14 @@ class User extends BaseUser
*/
private $comment;
/**
* This flag is set to false as soon as a user with an enabled prestataire logs in.
*
* @var bool
* @ORM\Column(type="boolean", nullable=false, options={"default" : true})
*/
private bool $beforeFirstLoginWithPrestaEnabled;
public function __construct()
{
parent::__construct();
......@@ -827,11 +835,6 @@ class User extends BaseUser
return $this;
}
/**
* @var bool
* @ORM\Column(type="boolean", nullable=false, options={"default" : true})
*/
private bool $beforeFirstLoginWithPrestaEnabled;
public function getBeforeFirstLoginWithPrestaEnabled(): bool
{
return $this->beforeFirstLoginWithPrestaEnabled;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment