Refactor
This commit is contained in:
parent
329b7abce4
commit
a82694c863
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue