Skip to content

Commit

Permalink
Merge pull request #228 from OXID-eSales/fix-modulesettingsservice
Browse files Browse the repository at this point in the history
Fix modulesettingsservice
  • Loading branch information
mariolorenz authored Oct 7, 2023
2 parents e4f8d25 + 5c75970 commit 1760615
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Core/Events/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Output\BufferedOutput;

class Events
Expand Down Expand Up @@ -163,11 +164,13 @@ private static function getModuleSettingsService(): ModuleSettings
$context = $container->get(ContextInterface::class);
/** @var ModuleConfigurationDaoBridgeInterface $moduleConfigurationDaoBridgeInterface */
$moduleConfigurationDaoBridgeInterface = $container->get(ModuleConfigurationDaoBridgeInterface::class);

/** @var LoggerInterface $loggerInterface */
$loggerInterface = $container->get(LoggerInterface::class);
return new ModuleSettings(
$moduleSettingsBridge,
$context,
$moduleConfigurationDaoBridgeInterface
$moduleConfigurationDaoBridgeInterface,
$loggerInterface
);
}
}

0 comments on commit 1760615

Please sign in to comment.