Skip to content

Commit 18a92c2

Browse files
committed
[Code Formatting] Rename a method for readability.
1 parent 4cfd6e5 commit 18a92c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/FileSystem/FileListGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct( $asDirPaths, array $aSearchOptions ) {
2929
public function get() {
3030
$_aFiles = array();
3131
foreach( $this->aDirPaths as $_sDirPath ) {
32-
$_aFilesPerDir = $this->___getPerDir( $_sDirPath );
32+
$_aFilesPerDir = $this->___getFilePathsPerDirectory( $_sDirPath );
3333
$_aFiles = array_merge( $_aFilesPerDir, $_aFiles );
3434
}
3535
return array_unique( $_aFiles );
@@ -46,7 +46,7 @@ public function get() {
4646
* @param string
4747
* @return array
4848
*/
49-
private function ___getPerDir( $sDirPath ) {
49+
private function ___getFilePathsPerDirectory( $sDirPath ) {
5050

5151
$sDirPath = rtrim( $sDirPath, '\\/' ) . DIRECTORY_SEPARATOR; // ensures the trailing (back/)slash exists.
5252
$_aExcludingDirPaths = $this->_getPathsFormatted( $this->aSearchOptions[ 'exclude_dir_paths' ] );

0 commit comments

Comments
 (0)