Open loooping-old opened 4 years ago
I have temporary fixed it:
Replace studly_case() with Str::studly at line no 104 and 129 of file vendor\voyager-bread-generator\src\Commands\BreadGenerator.php
Before:
protected function getNameInput()
{
return trim(studly_case($this->argument('name')));
}
protected function createModel()
{
$table = studly_case($this->argument('name'));
$this->call('make:model', [
'name' => $table
]);
}
Now:
protected function getNameInput()
{
return trim(Str::studly($this->argument('name')));
}
protected function createModel()
{
$table = Str::studly($this->argument('name'));
$this->call('make:model', [
'name' => $table
]);
}
Thank you
I need create migration and seeder for my bread, when I run:
I have this error