diff --git a/laravel/cli/tasks/migrate/resolver.php b/laravel/cli/tasks/migrate/resolver.php index 66164d92..67e5323c 100644 --- a/laravel/cli/tasks/migrate/resolver.php +++ b/laravel/cli/tasks/migrate/resolver.php @@ -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']); });