fixes
This commit is contained in:
parent
bf473f6d51
commit
da10859bb3
1 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ class Database
|
|||
/**
|
||||
* Execute an SQL query and return a single row.
|
||||
*/
|
||||
public function get_row(string $query, array $args=[]): ?PDORow
|
||||
public function get_row(string $query, array $args=[]): ?array
|
||||
{
|
||||
$_start = microtime(true);
|
||||
$row = $this->execute($query, $args)->fetch();
|
||||
|
@ -385,7 +385,7 @@ class MockDatabase extends Database
|
|||
{
|
||||
return $this->_execute($query, $args);
|
||||
}
|
||||
public function get_row(string $query, array $args=[]): ?PDORow
|
||||
public function get_row(string $query, array $args=[]): ?array
|
||||
{
|
||||
return $this->_execute($query, $args);
|
||||
}
|
||||
|
|
Reference in a new issue