File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -117,20 +117,20 @@ protected function exportBackend()
117
117
118
118
if (file_exists ($ controller ) && ! $ this ->option ('force ' )) {
119
119
if ($ this ->components ->confirm ("The [HomeController.php] file already exists. Do you want to replace it? " )) {
120
- file_put_contents ($ controller , $ this ->compileControllerStub ('HomeController ' ));
120
+ file_put_contents ($ controller , $ this ->compileControllerStub ('HomeController.php ' ));
121
121
}
122
122
} else {
123
- file_put_contents ($ controller , $ this ->compileControllerStub ('HomeController ' ));
123
+ file_put_contents ($ controller , $ this ->compileControllerStub ('HomeController.php ' ));
124
124
}
125
125
126
126
$ baseController = app_path ('Http/Controllers/Controller.php ' );
127
127
128
128
if (file_exists ($ baseController ) && ! $ this ->option ('force ' )) {
129
129
if ($ this ->components ->confirm ("The [Controller.php] file already exists. Do you want to replace it? " )) {
130
- file_put_contents ($ baseController , $ this ->compileControllerStub ('Controller ' ));
130
+ file_put_contents ($ baseController , $ this ->compileControllerStub ('Controller.php ' ));
131
131
}
132
132
} else {
133
- file_put_contents ($ baseController , $ this ->compileControllerStub ('Controller ' ));
133
+ file_put_contents ($ baseController , $ this ->compileControllerStub ('Controller.php ' ));
134
134
}
135
135
136
136
file_put_contents (
You can’t perform that action at this time.
0 commit comments