Merge branch 'main' into guillaume

This commit is contained in:
Yass 2026-02-20 16:56:22 +01:00 committed by GitHub
commit 9c19aa5525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 598 additions and 121 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;
}