1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00
This commit is contained in:
Jordi Boggiano 2016-01-26 13:07:05 +00:00
parent 64d653ad92
commit 1818b95149
26 changed files with 75 additions and 75 deletions

View file

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