Browse Source

fix return data type

PHP-GTK3
yggverse 4 months ago
parent
commit
8c8b520348
  1. 8
      src/Model/Database.php

8
src/Model/Database.php

@ -88,7 +88,9 @@ class Database @@ -88,7 +88,9 @@ class Database
]
);
return $this->_database->lastInsertId();
return intval(
$this->_database->lastInsertId()
);
}
public function findHistory(
@ -198,7 +200,9 @@ class Database @@ -198,7 +200,9 @@ class Database
]
);
return $this->_database->lastInsertId();
return intval(
$this->_database->lastInsertId()
);
}
public function getSession(): ?object

Loading…
Cancel
Save