Command $signature is being replaced with `modular_name:command`
WebKenth opened this issue · 0 comments
WebKenth commented
When making a new command for a module with
php artisan make:command {name} --module="{module}"
the signature is being removed due to a string replace malfunction :(
modular/src/Console/Commands/Make/MakeCommand.php
Lines 20 to 25 in 392f914
could maybe be something like ??
- $stub = str_replace($find, "{$module->name}:{$cli_name}", $stub);
+ $stub = str_replace($find, "signature = '{$module->name}:{$cli_name}'", $stub);