From 9bdfb5196a2ee1cbfc403702e8d2ef88076d366f Mon Sep 17 00:00:00 2001 From: polo Date: Wed, 5 Jul 2023 01:39:29 +0200 Subject: classe Latex "fonctionnelle" --- src/model/Model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/model/Model.php') diff --git a/src/model/Model.php b/src/model/Model.php index 40a9fcb..17d1292 100644 --- a/src/model/Model.php +++ b/src/model/Model.php @@ -16,7 +16,7 @@ abstract class Model extends DB // getters public function getTable(): string { - return($this->table); + return $this->table; } public function getAll(): array @@ -35,7 +35,7 @@ abstract class Model extends DB { $this->ID = $value; } - return($this); + return $this; } public function hydrate(array $data): bool // $data = tableau associatif en entrée: nom_du_champ => valeur -- cgit v1.2.3