X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/c21ece30ad66b4ce32444c7c913bf65883000b66..4bb7db1a28678a24ce260e849684fd138fcf8e26:/Entity/User.php?ds=sidebyside diff --git a/Entity/User.php b/Entity/User.php index 151f1a1..22bf46d 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -42,10 +42,12 @@ class User extends BaseUser { /** * Constructor + * + * @param string $mail The user mail */ - public function __construct() { + public function __construct(string $mail) { //Call parent constructor - parent::__construct(); + parent::__construct($mail); //Set collections $this->applications = new \Doctrine\Common\Collections\ArrayCollection();