From 87b4645d7ec99b6847d682081651be670d350793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Klatt?= Date: Fri, 29 May 2020 13:08:37 +0000 Subject: [PATCH] TE-5961 Refactored all ContainerInterface array access to setter. --- .../ContentProduct/ContentProductDependencyProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Spryker/Client/ContentProduct/ContentProductDependencyProvider.php b/src/Spryker/Client/ContentProduct/ContentProductDependencyProvider.php index ffc4b40431b..6d8e7307f5f 100644 --- a/src/Spryker/Client/ContentProduct/ContentProductDependencyProvider.php +++ b/src/Spryker/Client/ContentProduct/ContentProductDependencyProvider.php @@ -36,11 +36,11 @@ public function provideServiceLayerDependencies(Container $container): Container */ protected function addContentStorage(Container $container): Container { - $container[static::CLIENT_CONTENT_STORAGE] = function (Container $container) { + $container->set(static::CLIENT_CONTENT_STORAGE, function (Container $container) { return new ContentProductToContentStorageClientBridge( $container->getLocator()->contentStorage()->client() ); - }; + }); return $container; }