This commit is contained in:
distinctm
2019-01-24 16:31:01 -05:00
parent 968191127d
commit 24bb6b6d0a
2 changed files with 2 additions and 1 deletions

View File

@@ -141,7 +141,7 @@ class Updater
*/
protected function getModel(string $name)
{
return '\\App\\' . pathinfo($name, PATHINFO_FILENAME);
return '\\App\\' . studly_case(pathinfo($name, PATHINFO_FILENAME));
}
/**