Skip to content

Commit

Permalink
MOL-969: fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Sep 27, 2023
1 parent 8dc8546 commit e600e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MolliePayments.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function install(InstallContext $context): void
# that's the only part we use the Shopware repository directly,
# and not our custom one, because our repositories are not yet registered in this function
/** @var EntityRepository $shopwareRepoCustomFields */
$shopwareRepoCustomFields = $container->get('custom_field_set.repository');
$shopwareRepoCustomFields = $this->container->get('custom_field_set.repository');

if ($shopwareRepoCustomFields !== null) {
$mollieRepoCustomFields = new CustomFieldSetRepository($shopwareRepoCustomFields);
Expand Down Expand Up @@ -173,7 +173,7 @@ private function preparePlugin(Context $context): void
throw new Exception('Container is not initialized');
}
/** @var PluginInstaller $pluginInstaller */
$pluginInstaller = $container->get(PluginInstaller::class);
$pluginInstaller = $this->container->get(PluginInstaller::class);

$pluginInstaller->install($context);
}
Expand Down

0 comments on commit e600e7d

Please sign in to comment.