From e600e7d62337ef8402b7fea8742af29a069e4979 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Wed, 27 Sep 2023 11:13:54 +0200 Subject: [PATCH] MOL-969: fix merge --- src/MolliePayments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MolliePayments.php b/src/MolliePayments.php index 3499211b3..35e8d0959 100644 --- a/src/MolliePayments.php +++ b/src/MolliePayments.php @@ -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); @@ -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); }