* Adjust return value type.

This commit is contained in:
caoyanyi
2023-12-06 16:42:50 +08:00
parent 68eb2d9100
commit 80368ebc5d
+1 -1
View File
@@ -511,7 +511,7 @@ class solutionModel extends model
* @access public
* @return object
*/
public function getLastSolution(): object|null
public function getLastSolution(): object|false
{
return $this->dao->select('*')->from(TABLE_SOLUTION)
->where('deleted')->eq(0)