@@ -22,7 +22,7 @@ public function handle(): void
2222 $ this ->copyResourcesComponentsFiles ();
2323 $ this ->copyTranslationFile ();
2424
25- if (!is_link (public_path ('storage ' ))) {
25+ if (! is_link (public_path ('storage ' ))) {
2626 $ this ->call ('storage:link ' );
2727 }
2828
@@ -47,39 +47,39 @@ private function copyBlogModuleDirectory(): void
4747 {
4848 $ this ->info ('Copying Blog Module directory... ' );
4949 (new Filesystem )->ensureDirectoryExists (base_path ('modules ' ));
50- (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/modules/Blog ' , base_path ('modules/Blog ' ));
50+ (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/modules/Blog ' , base_path ('modules/Blog ' ));
5151 $ this ->info ('Blog Module directory copied successfully. ' );
5252 }
5353
5454 private function copyResourcesComponentsFiles (): void
5555 {
5656 $ this ->info ('Copying Blog Module components... ' );
5757 (new Filesystem )->ensureDirectoryExists (resource_path ('js/Components/Modules/Blog ' ));
58- (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources/js/Components/Modules/Blog ' , resource_path ('js/Components/Modules/Blog ' ));
58+ (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources/js/Components/Modules/Blog ' , resource_path ('js/Components/Modules/Blog ' ));
5959 $ this ->info ('Blog Module components copied successfully. ' );
6060 }
6161
6262 private function copyBlogSeederImages (): void
6363 {
6464 $ this ->info ('Copying Blog Seeder images... ' );
6565 (new Filesystem )->ensureDirectoryExists (resource_path ('images/blog ' ));
66- (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources/images/blog ' , resource_path ('images/blog ' ));
66+ (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources/images/blog ' , resource_path ('images/blog ' ));
6767 $ this ->info ('Blog Module Seeder images copied successfully. ' );
6868 }
6969
7070 private function copyResourcesFiles (): void
7171 {
7272 $ this ->info ('Copying Blog Module resources... ' );
7373 (new Filesystem )->ensureDirectoryExists (resource_path ('js/Pages ' ));
74- (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources/js/Pages ' , resource_path ('js/Pages ' ));
74+ (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources/js/Pages ' , resource_path ('js/Pages ' ));
7575 $ this ->info ('Blog Module resources copied successfully. ' );
7676 }
7777
7878 private function copyResourcesSiteFiles (): void
7979 {
8080 $ this ->info ('Copying Blog Module resources-site... ' );
8181 (new Filesystem )->ensureDirectoryExists (base_path ('resources-site ' ));
82- (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources-site ' , base_path ('resources-site ' ));
82+ (new Filesystem )->copyDirectory (__DIR__ . '/../../stubs/resources-site ' , base_path ('resources-site ' ));
8383 $ this ->info ('Blog Module resources-site copied successfully. ' );
8484 }
8585
@@ -89,7 +89,7 @@ private function copyTranslationFile(): void
8989
9090 if (! file_exists ($ paginationEnglish )) {
9191 (new Filesystem )->ensureDirectoryExists (base_path ('lang/en ' ));
92- copy (__DIR__ . '/../../stubs/lang/en/pagination.php ' , base_path ('lang/en/pagination.php ' ));
92+ copy (__DIR__ . '/../../stubs/lang/en/pagination.php ' , base_path ('lang/en/pagination.php ' ));
9393 }
9494 }
9595}
0 commit comments