@@ -22,7 +22,7 @@ public function handle(): void
22
22
$ this ->copyResourcesComponentsFiles ();
23
23
$ this ->copyTranslationFile ();
24
24
25
- if (!is_link (public_path ('storage ' ))) {
25
+ if (! is_link (public_path ('storage ' ))) {
26
26
$ this ->call ('storage:link ' );
27
27
}
28
28
@@ -47,39 +47,39 @@ private function copyBlogModuleDirectory(): void
47
47
{
48
48
$ this ->info ('Copying Blog Module directory... ' );
49
49
(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 ' ));
51
51
$ this ->info ('Blog Module directory copied successfully. ' );
52
52
}
53
53
54
54
private function copyResourcesComponentsFiles (): void
55
55
{
56
56
$ this ->info ('Copying Blog Module components... ' );
57
57
(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 ' ));
59
59
$ this ->info ('Blog Module components copied successfully. ' );
60
60
}
61
61
62
62
private function copyBlogSeederImages (): void
63
63
{
64
64
$ this ->info ('Copying Blog Seeder images... ' );
65
65
(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 ' ));
67
67
$ this ->info ('Blog Module Seeder images copied successfully. ' );
68
68
}
69
69
70
70
private function copyResourcesFiles (): void
71
71
{
72
72
$ this ->info ('Copying Blog Module resources... ' );
73
73
(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 ' ));
75
75
$ this ->info ('Blog Module resources copied successfully. ' );
76
76
}
77
77
78
78
private function copyResourcesSiteFiles (): void
79
79
{
80
80
$ this ->info ('Copying Blog Module resources-site... ' );
81
81
(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 ' ));
83
83
$ this ->info ('Blog Module resources-site copied successfully. ' );
84
84
}
85
85
@@ -89,7 +89,7 @@ private function copyTranslationFile(): void
89
89
90
90
if (! file_exists ($ paginationEnglish )) {
91
91
(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 ' ));
93
93
}
94
94
}
95
95
}
0 commit comments