This commit is contained in:
Jay Trees 2022-01-18 11:57:27 +01:00
parent 329b7abce4
commit a82694c863

View file

@ -26,7 +26,7 @@ class Database
$this->pdo = new \PDO($dsn, $this->user, $this->password, $options); $this->pdo = new \PDO($dsn, $this->user, $this->password, $options);
} }
public function query(string $query) public function query(string $query): mixed
{ {
return $this->pdo->query( return $this->pdo->query(
$query, $query,