diff --git a/project/src/model/gateways/Connection.php b/project/src/model/gateways/Connection.php index 29a8f67..885a51f 100644 --- a/project/src/model/gateways/Connection.php +++ b/project/src/model/gateways/Connection.php @@ -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(); } } \ No newline at end of file