Skip to content

Commit

Permalink
API Ensure themelist returns an array
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 17, 2024
1 parent 1a31282 commit b4eca2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/ThemeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ThemeResolver
* @param Subsite $site
* @return array
*/
public function getThemeList(Subsite $site)
public function getThemeList(Subsite $site): array
{
$themes = array_values(SSViewer::get_themes() ?? []);
$siteTheme = $site->Theme;
Expand Down

0 comments on commit b4eca2e

Please sign in to comment.