From e3a590481515f52b1adc5883a01eee07dc448fcb Mon Sep 17 00:00:00 2001 From: kaidesu Date: Wed, 8 Jul 2015 09:55:08 -0700 Subject: [PATCH] Fixed #86 --- .../Modules/Console/Commands/ModuleMigrateResetCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {