Browse Source

fix return data type

PHP-GTK3
yggverse 5 months ago
parent
commit
c632cbc7a2
  1. 2
      src/Model/Database.php

2
src/Model/Database.php

@ -205,7 +205,7 @@ class Database
); );
} }
public function getSession(): ?object public function getSession(): ?array
{ {
$query = $this->_database->query( $query = $this->_database->query(
'SELECT * FROM `session`' 'SELECT * FROM `session`'

Loading…
Cancel
Save