Explorar el Código

refactor(core): 替换Helper调用为直接函数调用

- 将多个文件中的SixShop\Core\Helper调用替换为对应的直接函数调用
- 移除了对Helper类的依赖引用
- 更新了extension_path函数的调用方式
- 统一了throw_logic_exception函数的使用方式
- 清理了无用的Helper类导入语句
runphp hace 3 meses
padre
commit
c741e9ed8a
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/Hook/FilesystemHook.php

+ 0 - 1
src/Hook/FilesystemHook.php

@@ -4,7 +4,6 @@ declare(strict_types=1);
 namespace SixShop\Filesystem\Hook;
 
 use SixShop\Core\Attribute\Hook;
-use SixShop\Core\Helper;
 use SixShop\Filesystem\Model\FilesystemCategoryModel;
 use SixShop\Filesystem\Model\FilesystemFileModel;
 use think\App;