1
0
Fork 0

Merge pull request #7444 from inaling/add_repositories_path_glob

Add repositories path glob
pull/7477/head
Jordi Boggiano 2018-07-17 17:53:23 +02:00 committed by GitHub
commit b3d6a17518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -177,6 +177,6 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
// Ensure environment-specific path separators are normalized to URL separators // Ensure environment-specific path separators are normalized to URL separators
return array_map(function ($val) { return array_map(function ($val) {
return rtrim(str_replace(DIRECTORY_SEPARATOR, '/', $val), '/'); return rtrim(str_replace(DIRECTORY_SEPARATOR, '/', $val), '/');
}, glob($this->url, GLOB_MARK | GLOB_ONLYDIR)); }, glob($this->url, GLOB_MARK | GLOB_ONLYDIR | GLOB_BRACE));
} }
} }