From a0026a5e637e9a42e81c19aa34744c4f36d380ef Mon Sep 17 00:00:00 2001 From: lanzongjun Date: Mon, 8 May 2023 18:57:31 +0800 Subject: [PATCH] * Fix code. --- module/todo/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/todo/model.php b/module/todo/model.php index 6019c72d37..8dbe4832f4 100755 --- a/module/todo/model.php +++ b/module/todo/model.php @@ -307,7 +307,7 @@ class todoModel extends model * @access public * @return array */ - public function getByList($todoIdList = 0) + public function getByList($todoIdList = 0): array { return $this->dao->select('*')->from(TABLE_TODO) ->beginIF($todoIdList)->where('id')->in($todoIdList)->fi() @@ -393,7 +393,7 @@ class todoModel extends model } /** - * 激活待办事项 + * 激活待办事项。 * Activated a todo. * * @param int $todoID