Skip to content

Commit

Permalink
refactor getFilesIn() return
Browse files Browse the repository at this point in the history
  • Loading branch information
faissaloux committed Oct 12, 2024
1 parent 986ff2f commit d19222f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ function getFilesIn(string $directory, int $depth = -1): array
$allFiles[] = $directory.DIRECTORY_SEPARATOR.$file;
}
}

return $allFiles;
}

return [];
return $allFiles;
}

0 comments on commit d19222f

Please sign in to comment.