diff --git a/module/doc/model.php b/module/doc/model.php index 6d0051018c..765608f96d 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -1898,18 +1898,18 @@ class docModel extends model } /** + * 获取收信人和抄送人列表。 * Get toList and ccList. * - * @param object $doc + * @param object $doc * @access public * @return bool|array */ - public function getToAndCcList($doc) + public function getToAndCcList(object $doc): bool|array { /* Set toList and ccList. */ $toList = ''; $ccList = str_replace(' ', '', trim($doc->mailto, ',')); - if(empty($toList)) { if(empty($ccList)) return false;