Skip to content

Commit d19222f

Browse files
committed
refactor getFilesIn() return
1 parent 986ff2f commit d19222f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/helpers.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ function getFilesIn(string $directory, int $depth = -1): array
3838
$allFiles[] = $directory.DIRECTORY_SEPARATOR.$file;
3939
}
4040
}
41-
42-
return $allFiles;
4341
}
4442

45-
return [];
43+
return $allFiles;
4644
}

0 commit comments

Comments
 (0)