From bff6344dea315ca27a9932cc84171ac5ca404bd6 Mon Sep 17 00:00:00 2001 From: Ievgenii Gryshkun Date: Fri, 18 Oct 2019 09:10:21 +0300 Subject: [PATCH] [Wishlist] Remove name from WishlistOutput #920 --- .../Model/Resolver/CustomerWishlistsResolver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/WishlistGraphQl/Model/Resolver/CustomerWishlistsResolver.php b/app/code/Magento/WishlistGraphQl/Model/Resolver/CustomerWishlistsResolver.php index ad32f953ef9c4..3556eefe36a9c 100644 --- a/app/code/Magento/WishlistGraphQl/Model/Resolver/CustomerWishlistsResolver.php +++ b/app/code/Magento/WishlistGraphQl/Model/Resolver/CustomerWishlistsResolver.php @@ -47,7 +47,7 @@ public function resolve( } $collection = $this->_wishlistCollectionFactory->create()->filterByCustomerId($context->getUserId()); $wishlistsData = []; - if (0 === $collection->getSize()) { + if (0 === $collection->getSize()) { return $wishlistsData; } $wishlists = $collection->getItems();