Skip to content

Commit

Permalink
TE-5961 Refactored all ContainerInterface array access to setter.
Browse files Browse the repository at this point in the history
  • Loading branch information
stereomon committed May 29, 2020
1 parent ede0f88 commit 87b4645
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 87b4645

Please sign in to comment.