fix return data type

This commit is contained in:
yggverse 2024-07-19 10:51:35 +03:00
parent 644d1188c3
commit 8c8b520348

View file

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