diff --git a/src/Caffeinated/Modules/Console/Commands/ModuleMigrateResetCommand.php b/src/Caffeinated/Modules/Console/Commands/ModuleMigrateResetCommand.php index f4fb2976..4ceba007 100644 --- a/src/Caffeinated/Modules/Console/Commands/ModuleMigrateResetCommand.php +++ b/src/Caffeinated/Modules/Console/Commands/ModuleMigrateResetCommand.php @@ -76,7 +76,7 @@ public function fire() $modules = $this->module->all(); $modules = $modules->reverse(); } else { - $modules = array_reverse($this->module->enabled()); + $modules = $this->module->enabled()->reverse(); } foreach ($modules as $module) {