FIX : type de retour getOneResult

correction_routeur^2
Victor SOULIER 1 year ago
parent c8b07b1c10
commit c486697393

@ -33,7 +33,7 @@ class Connection extends PDO {
return $this->stmt->fetchall();
}
public function getOneResult() : array {
public function getOneResult() : array|bool {
return $this->stmt->fetch();
}
}
Loading…
Cancel
Save