Browse Source

Resolver::resolve() uses Str::classify() to determine class names

Signed-off-by: Joe Wallace <joew@atiba.com>
Joe Wallace 12 years ago
parent
commit
201732135d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/cli/tasks/migrate/resolver.php

+ 1 - 1
laravel/cli/tasks/migrate/resolver.php

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