Fix -c option in create:model command (#631)

This commit is contained in:
Romain 'Maz' BILLOIR 2022-08-02 23:52:01 +02:00 committed by GitHub
parent b8046c2228
commit b340855778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ class CreateModel extends BaseScaffoldCommand
{
$this->call('create:controller', [
'plugin' => $this->getPluginIdentifier(),
'controller' => Str::pluralize($this->argument('model')),
'controller' => Str::plural($this->argument('model')),
'--model' => $this->getNameInput(),
]);
}