Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add hat snippet field
[airbundle]
/
Entity
/
User.php
diff --git
a/Entity/User.php
b/Entity/User.php
index 151f1a10f86662f4c2d9d1724c40bf9a4ad83321..22bf46da496d7298ff95163b1258a6e10567bdd4 100644
(file)
--- a/
Entity/User.php
+++ b/
Entity/User.php
@@
-42,10
+42,12
@@
class User extends BaseUser {
/**
* Constructor
/**
* Constructor
+ *
+ * @param string $mail The user mail
*/
*/
- public function __construct() {
+ public function __construct(
string $mail
) {
//Call parent constructor
//Call parent constructor
- parent::__construct();
+ parent::__construct(
$mail
);
//Set collections
$this->applications = new \Doctrine\Common\Collections\ArrayCollection();
//Set collections
$this->applications = new \Doctrine\Common\Collections\ArrayCollection();