Plusieurs bug de fixed important (!), mise en place env, mise en place img user par défaut

This commit is contained in:
laura.chevillet 2026-02-14 10:03:15 +01:00
parent 84dbe145b3
commit ea38928869
91 changed files with 6711 additions and 24 deletions

View file

@ -21,4 +21,8 @@
return $this->_name;
}
public function setName(string $name){
$this->_name = $name;
}
}

View file

@ -6,12 +6,12 @@
private string $_name = '';
private string $_firstname = '';
private string $_pseudo = '';
private string $_image = '';
private ?string $_image = null;
private string $_mail = '';
private string $_pwd;
private string $_phone = '';
private string $_work = '';
private string $_birth = '';
private ?string $_birth = null;
private string $_location = '';
private string $_description = '';
private string $_account_creation = '';
@ -49,10 +49,10 @@
$this->_pseudo = $pseudo;
}
public function getImage():string{
public function getImage():?string{
return $this->_image;
}
public function setImage(string $image){
public function setImage(?string $image){
$this->_image = $image;
}
@ -87,10 +87,10 @@
$this->_work = $work;
}
public function getBirth():string{
public function getBirth():?string{
return $this->_birth;
}
public function setBirth(string $birth){
public function setBirth(?string $birth){
$this->_birth = $birth;
}