fix code to phpstan-level-2

This commit is contained in:
crazywhalecc
2022-04-02 23:37:22 +08:00
committed by Jerry Ma
parent be9874a9ad
commit eecbe49955
31 changed files with 450 additions and 384 deletions

View File

@@ -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)) {