File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ private function selectThemesInteractively(OutputInterface $output): ?array
164164 /**
165165 * Display available themes for non-interactive environments
166166 *
167- * @param array< \Magento\Theme\Model\Theme> $themes
167+ * @param \Magento\Theme\Model\Theme[] $themes
168168 * @return void
169169 */
170170 private function displayAvailableThemes (array $ themes ): void
@@ -189,9 +189,9 @@ private function displayAvailableThemes(array $themes): void
189189 /**
190190 * Prompt user to select themes
191191 *
192- * @param array< string> $options
193- * @param array< \Magento\Theme\Model\Theme> $themes
194- * @return array< string> |null
192+ * @param string[] $options
193+ * @param \Magento\Theme\Model\Theme[] $themes
194+ * @return string[] |null
195195 */
196196 private function promptForThemes (array $ options , array $ themes ): ?array
197197 {
Original file line number Diff line number Diff line change 55namespace OpenForgeProject \MageForge \Model ;
66
77use Magento \Framework \View \Design \Theme \ThemeList as MagentoThemeList ;
8- use Magento \Framework \ View \ Design \ ThemeInterface ;
8+ use Magento \Theme \ Model \ Theme ;
99
1010class ThemeList
1111{
@@ -22,11 +22,11 @@ public function __construct(
2222 /**
2323 * Get all themes
2424 *
25- * @return array<string, ThemeInterface >
25+ * @return array<string, Theme >
2626 */
2727 public function getAllThemes (): array
2828 {
29- /** @var array<string, ThemeInterface > $items */
29+ /** @var array<string, Theme > $items */
3030 $ items = $ this ->magentoThemeList ->getItems ();
3131 return $ items ;
3232 }
You can’t perform that action at this time.
0 commit comments