Skip to content

Commit 2017321

Browse files
author
Joe Wallace
committed
Resolver::resolve() uses Str::classify() to determine class names
Signed-off-by: Joe Wallace <joew@atiba.com>
1 parent b7ac1b7 commit 2017321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/cli/tasks/migrate/resolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function resolve($migrations)
116116
// naming collisions with other bundle's migrations.
117117
$prefix = Bundle::class_prefix($bundle);
118118

119-
$class = $prefix.substr($name, 18);
119+
$class = $prefix.\Laravel\Str::classify(substr($name, 18));
120120

121121
$migration = new $class;
122122

0 commit comments

Comments
 (0)