fix sorting of migrations.

This commit is contained in:
Taylor Otwell
2012-02-01 08:44:26 -06:00
parent 8bd740d183
commit f3a78490bd

View File

@@ -130,7 +130,7 @@ class Resolver {
// 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']);
});