Skip to content

Commit

Permalink
OXDEV-8215 Unnecessary arguments removed
Browse files Browse the repository at this point in the history
  • Loading branch information
RahatHameed committed Jul 30, 2024
1 parent 38c1cd8 commit 870c550
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ public function testGetThemesValidData(): void
}
}

public function getSut(
?CoreThemeFactoryInterface $coreThemeFactory = null,
?ThemeDataTypeFactoryInterface $themeDataTypeFactory = null
): ThemeListInfrastructure {
public function getSut(): ThemeListInfrastructure {
return new ThemeListInfrastructure(
$coreThemeFactory ?? $this->get(CoreThemeFactoryInterface::class),
$themeDataTypeFactory ?? $this->get(ThemeDataTypeFactoryInterface::class)
$this->get(CoreThemeFactoryInterface::class),
$this->get(ThemeDataTypeFactoryInterface::class)
);
}
}

0 comments on commit 870c550

Please sign in to comment.