diff --git a/src/Extensions/LeftAndMainSubsites.php b/src/Extensions/LeftAndMainSubsites.php index 08cf0daa..94a1b8a7 100644 --- a/src/Extensions/LeftAndMainSubsites.php +++ b/src/Extensions/LeftAndMainSubsites.php @@ -17,7 +17,7 @@ use SilverStripe\Forms\HiddenField; use SilverStripe\Model\List\ArrayList; use SilverStripe\ORM\DataObject; -use SilverStripe\ORM\SS_List; +use SilverStripe\Model\List\SS_List; use SilverStripe\Security\Member; use SilverStripe\Security\Permission; use SilverStripe\Security\Security; diff --git a/src/Service/ThemeResolver.php b/src/Service/ThemeResolver.php index b91d3bd2..a05d35fd 100644 --- a/src/Service/ThemeResolver.php +++ b/src/Service/ThemeResolver.php @@ -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;