Skip to content

Commit

Permalink
Merge pull request #6126 from magento-honey-badgers/wishlist-gql-ce-248
Browse files Browse the repository at this point in the history
[honey][MultipleWishlist] Adding GraphQl coverage for MultipleWishlist and GiftCard
  • Loading branch information
prabhuram93 authored Sep 13, 2020
2 parents 8aa1d46 + 0fbe1f9 commit 4ae0f74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class WishlistItemFactory
public function create(array $data): WishlistItem
{
return new WishlistItem(
$data['quantity'],
$data['quantity'] ?? 0,
$data['sku'] ?? null,
$data['parent_sku'] ?? null,
isset($data['wishlist_item_id']) ? (int) $data['wishlist_item_id'] : null,
Expand Down

0 comments on commit 4ae0f74

Please sign in to comment.