Fixed phpstan issues

This commit is contained in:
Jan Böhmer 2026-05-03 00:18:38 +02:00
parent db86b8c330
commit 21bad81262
3 changed files with 3 additions and 5 deletions

View file

@ -52,8 +52,6 @@ enum AIPlatforms: string implements TranslatableInterface
return match ($this) {
self::LMSTUDIO => LMStudioSettings::class,
self::OPENROUTER => OpenRouterSettings::class,
default => throw new \InvalidArgumentException(sprintf('No settings class defined for AI platform "%s".', $this->name)),
};
}