fix sorting of migrations.

This commit is contained in:
Taylor Otwell 2012-02-01 08:44:26 -06:00
parent 8bd740d183
commit f3a78490bd
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ protected function resolve($migrations)
// At this point the migrations are only sorted within their
// bundles so we need to resort them by name to ensure they
// are in a consistent order.
usort($migrations, function($a, $b)
usort($instances, function($a, $b)
{
return strcmp($a['name'], $b['name']);
});