Skip to content

Commit 5e788cf

Browse files
Morgy93Copilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent c609da6 commit 5e788cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Model/ThemeList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace OpenForgeProject\MageForge\Model;
66

77
use Magento\Framework\View\Design\Theme\ThemeList as MagentoThemeList;
8-
use Magento\Theme\Model\Theme;
8+
use Magento\Framework\View\Design\ThemeInterface;
99

1010
class ThemeList
1111
{
@@ -22,11 +22,11 @@ public function __construct(
2222
/**
2323
* Get all themes
2424
*
25-
* @return array<int, Theme>
25+
* @return array<string, ThemeInterface>
2626
*/
2727
public function getAllThemes(): array
2828
{
29-
/** @var array<int, Theme> $items */
29+
/** @var array<string, ThemeInterface> $items */
3030
$items = $this->magentoThemeList->getItems();
3131
return $items;
3232
}

0 commit comments

Comments
 (0)