From a9ae4bf6b0be70a59a929fbeec08b34e90e63666 Mon Sep 17 00:00:00 2001 From: Chris Morrell Date: Mon, 18 Mar 2024 14:24:10 -0400 Subject: [PATCH] Update MakeCommand.php --- src/Console/Commands/Make/MakeCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Console/Commands/Make/MakeCommand.php b/src/Console/Commands/Make/MakeCommand.php index 3046bb2..0610e7a 100644 --- a/src/Console/Commands/Make/MakeCommand.php +++ b/src/Console/Commands/Make/MakeCommand.php @@ -18,11 +18,11 @@ protected function replaceClass($stub, $name) $cli_name = Str::of($name)->classBasename()->kebab(); $find = [ - "signature = 'command:name'", - "signature = 'app:{$cli_name}'", + "'command:name'", + "'app:{$cli_name}'", ]; - $stub = str_replace($find, "signature = '{$module->name}:{$cli_name}'", $stub); + $stub = str_replace($find, "'{$module->name}:{$cli_name}'", $stub); } return $stub;