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 c5463e4 commit 4858bed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public function provideDependencies(Container $container)
*/
protected function addWishlistClient(Container $container): Container
{
$container[static::CLIENT_WISHLIST] = function (Container $container) {
$container->set(static::CLIENT_WISHLIST, function (Container $container) {
return new WishlistWidgetToWishlistClientBridge($container->getLocator()->wishlist()->client());
};
});

return $container;
}
Expand Down

0 comments on commit 4858bed

Please sign in to comment.