+ userTest: add comment and return type of the getUserTemplates method.

This commit is contained in:
liugang
2023-12-16 16:51:54 +08:00
parent 13a6f219b6
commit b2c1a91bb7
+2 -1
View File
@@ -1032,13 +1032,14 @@ class userTest
}
/**
* 测试获取指定类型的用户模板。
* Test get user templates.
*
* @param string $type
* @access public
* @return array
*/
public function getUserTemplatesTest($type)
public function getUserTemplatesTest(string $type): array
{
return $this->objectModel->getUserTemplates($type);
}