Allow to override the banner with its existing env variable

This commit is contained in:
Jan Böhmer 2025-08-24 17:37:16 +02:00
parent ae08d9539d
commit ac89489202
6 changed files with 13 additions and 22 deletions

View file

@ -30,7 +30,7 @@ use App\Settings\SystemSettings\CustomizationSettings;
*/
class BannerHelper
{
public function __construct(private CustomizationSettings $customizationSettings)
public function __construct(private readonly CustomizationSettings $customizationSettings)
{
}
@ -43,4 +43,4 @@ class BannerHelper
{
return $this->customizationSettings->banner ?? "";
}
}
}