add missed return value

This commit is contained in:
ghost 2021-12-28 22:59:24 +02:00
parent 62c11ea439
commit 547b6217c4
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class ModelBlock extends Model {
$query->execute([$hash, $time]);
$this->_db->lastInsertId();
return $this->_db->lastInsertId();
} catch (PDOException $e) {

View File

@ -28,7 +28,7 @@ class ModelUser extends Model {
$query->execute([$blockId, $userName]);
$this->_db->lastInsertId();
return $this->_db->lastInsertId();
} catch (PDOException $e) {