Skip to content

Commit 1efb5eb

Browse files
committed
feat: 增加模型自动生成用于IDE提示的注释工具
1 parent 8f3c3e1 commit 1efb5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extend/ToolsExtend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public static function __callStatic(string $method, array $arguments)
154154
* @param integer $currDepth 当前深度,临时变量递归时使用。
155155
* @return \Generator 返回 SplFileInfo 对象的生成器。
156156
*/
157-
private static function findFilesYield(string $path, ?int $depth = null, ?Closure $filter = null, bool $appendPath = false, int $currDepth = 1): Generator
157+
public static function findFilesYield(string $path, ?int $depth = null, ?Closure $filter = null, bool $appendPath = false, int $currDepth = 1): Generator
158158
{
159159
if (file_exists($path) && is_dir($path) && (is_null($depth) || $currDepth <= $depth)) {
160160
foreach (new FilesystemIterator($path, FilesystemIterator::SKIP_DOTS) as $item) {

0 commit comments

Comments
 (0)