From 79540ab48071b0e777bbbb8e15035ae3869768cb Mon Sep 17 00:00:00 2001 From: Lufei Date: Thu, 8 Dec 2022 14:23:23 +0800 Subject: [PATCH] * Use string instead of varchar. --- module/dept/model.php | 4 ++-- module/holiday/model.php | 4 ++-- module/program/control.php | 4 ++-- module/todo/control.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/module/dept/model.php b/module/dept/model.php index 7fd5752c90..fa432bda96 100644 --- a/module/dept/model.php +++ b/module/dept/model.php @@ -371,10 +371,10 @@ class deptModel extends model /** * Get users of a deparment. * - * @param varchar $browseType inside|outside|all + * @param string $browseType inside|outside|all * @param int $deptID * @param object $pager - * @param varchar $orderBy + * @param string $orderBy * @access public * @return array */ diff --git a/module/holiday/model.php b/module/holiday/model.php index cfffe7ff23..2b4a05d0f3 100644 --- a/module/holiday/model.php +++ b/module/holiday/model.php @@ -250,8 +250,8 @@ class holidayModel extends model /** * Get diff days. * - * @param varchar $begin - * @param varchar $end + * @param string $begin + * @param string $end * @access public * @return bool */ diff --git a/module/program/control.php b/module/program/control.php index 57555ca63f..85b733eaf0 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -29,8 +29,8 @@ class program extends control /** * Program list. * - * @param varchar $status - * @param varchar $orderBy + * @param string $status + * @param string $orderBy * @access public * @return void */ diff --git a/module/todo/control.php b/module/todo/control.php index 173526d4f4..b8b41150a8 100644 --- a/module/todo/control.php +++ b/module/todo/control.php @@ -668,7 +668,7 @@ class todo extends control * AJAX: get program id. * * @param int $objectID - * @param varchar $objectType + * @param string $objectType * @access public * @return void */