File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function __invoke(
3939 shouldOverride: $ shouldOverride ,
4040 );
4141
42- $ this ->console ->success (sprintf ('File successfully created at "%s". ' , $ targetPath ));
42+ $ this ->console ->success (sprintf ('Model successfully created at "%s". ' , $ targetPath ));
4343 } catch (FileGenerationAbortedException |FileGenerationFailedException $ e ) {
4444 $ this ->console ->error ($ e ->getMessage ());
4545 }
Original file line number Diff line number Diff line change @@ -27,10 +27,12 @@ public function __invoke(
2727 )]
2828 string $ className ,
2929 #[ConsoleArgument(
30+ name: 'path ' ,
3031 help: 'The path of the route ' ,
3132 )]
3233 ?string $ controllerPath = null ,
3334 #[ConsoleArgument(
35+ name: 'view ' ,
3436 help: 'The name of the view returned from the controller ' ,
3537 )]
3638 ?string $ controllerView = null ,
@@ -50,7 +52,7 @@ public function __invoke(
5052 ],
5153 );
5254
53- $ this ->success (sprintf ('File successfully created at "%s". ' , $ targetPath ));
55+ $ this ->success (sprintf ('Controller successfully created at "%s". ' , $ targetPath ));
5456 } catch (FileGenerationAbortedException |FileGenerationFailedException $ e ) {
5557 $ this ->error ($ e ->getMessage ());
5658 }
You can’t perform that action at this time.
0 commit comments