* Refactor design::__construct method.

This commit is contained in:
tianshujie
2023-12-13 08:46:09 +08:00
parent 4201ee46d6
commit fbd8e2ca49
+2 -1
View File
@@ -12,6 +12,7 @@
class design extends control
{
/**
* 构造函数,加载通用的模块。
* Construct function, load module auto.
*
* @param string $moduleName
@@ -19,7 +20,7 @@ class design extends control
* @access public
* @return void
*/
public function __construct($moduleName = '', $methodName = '')
public function __construct(string $moduleName = '', string $methodName = '')
{
parent::__construct($moduleName, $methodName);