Skip to content

Commit 106799d

Browse files
isaekenactions-user
authored andcommitted
Fix styling
1 parent 52a35bf commit 106799d

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

src/Commands/CreateCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function handle(): void
3434
$name = $this->argument('name');
3535
if (theme_system()->isExists($name)) {
3636
$this->error("The theme '$name' is exists.");
37+
3738
return;
3839
}
3940

src/Commands/InitializeCommand.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,18 @@ public function isInstalled(): bool
6363
*/
6464
public function handle(): void
6565
{
66-
if (!$this->isInstalled()) {
67-
if (!file_exists(base_path('webpack.mix.js'))) {
66+
if (! $this->isInstalled()) {
67+
if (! file_exists(base_path('webpack.mix.js'))) {
6868
File::put(base_path('webpack.mix.js'), '');
6969
}
7070

71-
if (file_exists(base_path('webpack.mix.js')) && !file_exists(base_path(Webpack::defaultWebpackPath()))) {
71+
if (file_exists(base_path('webpack.mix.js')) && ! file_exists(base_path(Webpack::defaultWebpackPath()))) {
7272
$this->info('Copying "webpack.mix.js" to ' . base_path(Webpack::defaultWebpackPath()));
7373
File::copy(base_path('webpack.mix.js'), base_path(Webpack::defaultWebpackPath()));
7474
}
75-
}
76-
else {
75+
} else {
7776
$this->error('Theme system already initialized.');
77+
7878
return;
7979
}
8080

@@ -83,7 +83,7 @@ public function handle(): void
8383
$this->info('Created main "webpack.mix.js".');
8484

8585
foreach (theme_system()->findThemes() as $theme) {
86-
if (!File::exists("$theme->directory/webpack.mix.js")) {
86+
if (! File::exists("$theme->directory/webpack.mix.js")) {
8787
File::put("$theme->directory/webpack.mix.js", Webpack::generateTheme());
8888
$this->info("Created webpack config for theme: $theme->name");
8989
}

src/Webpack.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public static function signature(): string
4141
{
4242
$package = ThemeSystem::PackageName;
4343
$version = ThemeSystem::Version;
44+
4445
return "// $package ($version)";
4546
}
4647

0 commit comments

Comments
 (0)