Merge pull request #517 from joecwallace/migrate-resolver-classify-fix

Resolver::resolve() bug fix
This commit is contained in:
Taylor Otwell 2012-04-10 07:47:34 -07:00
commit b370549d80
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ protected function resolve($migrations)
// naming collisions with other bundle's migrations. // naming collisions with other bundle's migrations.
$prefix = Bundle::class_prefix($bundle); $prefix = Bundle::class_prefix($bundle);
$class = $prefix.substr($name, 18); $class = $prefix.\Laravel\Str::classify(substr($name, 18));
$migration = new $class; $migration = new $class;