File tree 3 files changed +19
-1
lines changed
app/code/Magento/Wishlist
Test/Unit/Controller/Shared
3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ class Allcart implements HttpGetActionInterface
37
37
*/
38
38
private $ resultFactory ;
39
39
40
+ /**
41
+ * @param ItemCarrier $itemCarrier
42
+ * @param RequestInterface $request
43
+ * @param ResultFactory $resultFactory
44
+ * @param WishlistProvider $wishlistProvider
45
+ */
40
46
public function __construct (
41
47
ItemCarrier $ itemCarrier ,
42
48
RequestInterface $ request ,
@@ -52,7 +58,7 @@ public function __construct(
52
58
/**
53
59
* Add all items from wishlist to shopping cart
54
60
*
55
- * @inheritDoc
61
+ * { @inheritDoc}
56
62
*/
57
63
public function execute ()
58
64
{
Original file line number Diff line number Diff line change @@ -76,6 +76,17 @@ class Cart implements HttpGetActionInterface
76
76
*/
77
77
private $ resultFactory ;
78
78
79
+ /**
80
+ * @param CustomerCart $cart
81
+ * @param OptionFactory $optionFactory
82
+ * @param ItemFactory $itemFactory
83
+ * @param CartHelper $cartHelper
84
+ * @param Escaper $escaper
85
+ * @param RequestInterface $request
86
+ * @param RedirectInterface $redirect
87
+ * @param MessageManagerInterface $messageManager
88
+ * @param ResultFactory $resultFactory
89
+ */
79
90
public function __construct (
80
91
CustomerCart $ cart ,
81
92
OptionFactory $ optionFactory ,
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ class CartTest extends TestCase
85
85
/** @var Product|MockObject */
86
86
protected $ product ;
87
87
88
+ // phpcs:ignore Generic.Files.LineLength.TooLong
88
89
protected function setUp ()
89
90
{
90
91
$ this ->request = $ this ->getMockBuilder (RequestInterface::class)
You can’t perform that action at this time.
0 commit comments