mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
fix return data type
This commit is contained in:
parent
644d1188c3
commit
8c8b520348
1 changed files with 6 additions and 2 deletions
|
|
@ -88,7 +88,9 @@ class Database
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
return $this->_database->lastInsertId();
|
return intval(
|
||||||
|
$this->_database->lastInsertId()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function findHistory(
|
public function findHistory(
|
||||||
|
|
@ -198,7 +200,9 @@ class Database
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
return $this->_database->lastInsertId();
|
return intval(
|
||||||
|
$this->_database->lastInsertId()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSession(): ?object
|
public function getSession(): ?object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue