From 80368ebc5d1f60ea525323493480205d9f54dbf0 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 6 Dec 2023 16:42:48 +0800 Subject: [PATCH] * Adjust return value type. --- module/solution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/solution/model.php b/module/solution/model.php index 23c731ff58..87eefd3330 100644 --- a/module/solution/model.php +++ b/module/solution/model.php @@ -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)