Skip to content

Commit

Permalink
OXDEV-8215: Adjust docblock for ThemeListInfrastructureInterface::get…
Browse files Browse the repository at this point in the history
…Themes()
  • Loading branch information
MarcelOxid committed Aug 7, 2024
1 parent 3fb5eb4 commit 0fdb4c2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/Module/DataType/ModuleDataType.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,4 @@ public function getEmail(): ?string
{
return $this->email;
}

#[Field]
public function isActive(): bool
{
return $this->active;
}
}
4 changes: 2 additions & 2 deletions src/Theme/Infrastructure/ThemeListInfrastructureInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

namespace OxidEsales\GraphQL\ConfigurationAccess\Theme\Infrastructure;

use OxidEsales\GraphQL\ConfigurationAccess\Theme\DataType\ThemeDataType;
use OxidEsales\Eshop\Core\Theme;
use OxidEsales\GraphQL\ConfigurationAccess\Theme\Exception\ThemesNotFound;

interface ThemeListInfrastructureInterface
{
/**
* @return array<ThemeDataType>
* @return array<Theme>
* @throws ThemesNotFound
*/
public function getThemes(): array;
Expand Down
1 change: 0 additions & 1 deletion src/Theme/Service/ThemeListService.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public function getThemeList(ComponentFiltersInterface $filters): array
$themesArray = [];
$themesList = $this->themeListInfrastructure->getThemes();
foreach ($themesList as $theme) {
/** @var Theme $theme */
$themesArray[] = $this->themeDataTypeFactory->createFromCoreTheme(theme: $theme);
}

Expand Down

0 comments on commit 0fdb4c2

Please sign in to comment.