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

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace ZM\Utils\Manager;
use Iterator;
use ZM\Config\ZMConfig;
use ZM\Console\Console;
use ZM\Exception\ModulePackException;
@@ -168,8 +169,8 @@ class ModuleManager
/**
* 解包模块
* @param $module
* @return array|false
* @param array|Iterator $module 模块信息
* @return array|false 返回截包的信息或false
*/
public static function unpackModule($module, array $options = [])
{