Commit f3a78490 authored by Taylor Otwell's avatar Taylor Otwell

fix sorting of migrations.

parent 8bd740d1
...@@ -130,7 +130,7 @@ class Resolver { ...@@ -130,7 +130,7 @@ class Resolver {
// At this point the migrations are only sorted within their // At this point the migrations are only sorted within their
// bundles so we need to resort them by name to ensure they // bundles so we need to resort them by name to ensure they
// are in a consistent order. // are in a consistent order.
usort($migrations, function($a, $b) usort($instances, function($a, $b)
{ {
return strcmp($a['name'], $b['name']); return strcmp($a['name'], $b['name']);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment