Skip to content

Commit 8d02533

Browse files
author
Gabriel Galvao da Gama
committed
Fixed static tests
1 parent e3fd246 commit 8d02533

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Wishlist/Block/AddToWishlist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ class AddToWishlist extends Template
3434

3535
/**
3636
* AddToWishlist constructor.
37-
* @param ProductTypeListInterface $productTypeList
37+
*
3838
* @param Context $context
3939
* @param array $data
40+
* @param ProductTypeListInterface|null $productTypeList
4041
*/
4142
public function __construct(
4243
Context $context,

app/code/Magento/Wishlist/view/frontend/web/js/add-to-wishlist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ define([
7777
return;
7878
}
7979

80-
handleObjSelector = $(event.currentTarget).closest('form').find(event.handleObj.selector)
80+
handleObjSelector = $(event.currentTarget).closest('form').find(event.handleObj.selector);
8181

8282
handleObjSelector.each(function (index, element) {
8383
if ($(element).is('input[type=text]') ||

0 commit comments

Comments
 (0)