diff --git a/Config/Nettoyage.php b/Config/Nettoyage.php index 01035a02..d36611b5 100644 --- a/Config/Nettoyage.php +++ b/Config/Nettoyage.php @@ -7,7 +7,7 @@ Class Nettoyage{ * * @return string The output of the function. */ - public function clean(string $input) + public function clean($input) { $output = trim($input); $output = strip_tags($output); @@ -22,7 +22,7 @@ Class Nettoyage{ * * @return string The output is being returned. */ - public function cleanEmail(string $input){ + public function cleanEmail($input){ $output = $this->clean($input); $output = filter_var($output, FILTER_SANITIZE_EMAIL); return $output;