1
0
Fork 0

Fix mode and add docblock, refs #2644

pull/2674/head
Jordi Boggiano 2014-02-06 09:44:14 +01:00
parent d26dda5c95
commit ed02997a7b
1 changed files with 8 additions and 0 deletions

8
src/Composer/Autoload/AutoloadGenerator.php Executable file → Normal file
View File

@ -609,6 +609,14 @@ FOOTER;
return $autoloads; return $autoloads;
} }
/**
* Sorts packages by dependency weight
*
* Packages of equal weight retain the original order
*
* @param array $packageMap
* @return array
*/
protected function sortPackageMap(array $packageMap) protected function sortPackageMap(array $packageMap)
{ {
$packages = array(); $packages = array();