plus de sécurité et jolie beau

This commit is contained in:
Yasder5 2026-03-01 12:29:05 +01:00
parent 1deedf79a8
commit 18d74fc687
6 changed files with 11 additions and 11 deletions

View file

@ -56,7 +56,7 @@ class Project extends Mother{
* @return string tite du projet
*/
public function getTitle(){
return $this->_title;
return $this->nettoyer($this->_title);
}
/**
@ -72,7 +72,7 @@ class Project extends Mother{
* @return string description du projet
*/
public function getDescription(){
return $this->_description;
return $this->nettoyer($this->_description) ;
}
/**
@ -105,7 +105,7 @@ class Project extends Mother{
* @return string contenu du projet
*/
public function getContent(){
return $this->_content;
return $this->nettoyer($this->_content);
}
/**