mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-17 13:45:34 +08:00
fix code to phpstan-level-2
This commit is contained in:
@@ -57,9 +57,9 @@ class ModulePacker
|
||||
|
||||
/**
|
||||
* 设置输出文件夹
|
||||
* @param $path
|
||||
* @param string $path 输出路径
|
||||
*/
|
||||
public function setOutputPath($path)
|
||||
public function setOutputPath(string $path)
|
||||
{
|
||||
$this->output_path = $path;
|
||||
if (!is_dir($path)) {
|
||||
|
||||
Reference in New Issue
Block a user