Skip to content

Commit 15b4e35

Browse files
ISSUE #1100: Store theme in database
1 parent f1dc339 commit 15b4e35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Infrastructure/Theme/Theme.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ public static function setKeyValueStore(KeyValueStore $keyValueStore): void
2626
*/
2727
private static function getThemeConfig(): array
2828
{
29-
if( null === self::$keyValueStore) {
29+
if (null === self::$keyValueStore) {
3030
throw new \RuntimeException('KeyValueStore not set. Please call Theme::setKeyValueStore() before using this method.');
3131
}
3232
if (null === self::$themeConfig) {
3333
self::$themeConfig = Json::decode((string) self::$keyValueStore->find(Key::THEME));
3434
}
3535

36-
/** @var array<string, mixed> */
36+
/* @var array<string, mixed> */
3737
return self::$themeConfig;
3838
}
3939

0 commit comments

Comments
 (0)