🆙 Add more fixes 🆙

This commit is contained in:
Remco
2026-02-02 20:56:28 +01:00
parent 0ca57c9a91
commit e6ed904f14
19 changed files with 1927 additions and 2302 deletions
@@ -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;
}