🆙 Add more fixes 🆙

This commit is contained in:
Remco committed 2026-02-02 20:56:28 +01:00
1 parent 0ca57c9a91
commit e6ed904f14
19 files changed
+1927 -2302

No files matched your search

@@ -11,7 +11,7 @@ class BuildTheme extends Command
protected $description = 'Build a selected theme assets';
public function handle()
public function handle(): int
{
$themes = $this->getAvailableThemes();
@@ -29,7 +29,11 @@ class BuildTheme extends Command
$this->info("Building {$selectedTheme} theme...");
$this->runBuildCommand($selectedTheme);
if (is_array($selectedTheme)) {
$selectedTheme = $selectedTheme[0] ?? '';
}
$this->runBuildCommand((string) $selectedTheme);
return Command::SUCCESS;
}