File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
app/code/Magento/Checkout Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ public function isPossibleOnepageCheckout()
163
163
/**
164
164
* Get one page checkout page url
165
165
*
166
- * @return bool
166
+ * @return string
167
167
*/
168
168
public function getCheckoutUrl ()
169
169
{
@@ -173,7 +173,7 @@ public function getCheckoutUrl()
173
173
/**
174
174
* Get shoppinc cart page url
175
175
*
176
- * @return bool
176
+ * @return string
177
177
*/
178
178
public function getShoppingCartUrl ()
179
179
{
@@ -183,7 +183,7 @@ public function getShoppingCartUrl()
183
183
/**
184
184
* Get update cart item url
185
185
*
186
- * @return bool
186
+ * @return string
187
187
*/
188
188
public function getUpdateItemQtyUrl ()
189
189
{
@@ -193,7 +193,7 @@ public function getUpdateItemQtyUrl()
193
193
/**
194
194
* Get remove cart item url
195
195
*
196
- * @return bool
196
+ * @return string
197
197
*/
198
198
public function getRemoveItemUrl ()
199
199
{
@@ -204,6 +204,7 @@ public function getRemoveItemUrl()
204
204
* Define if Mini Shopping Cart Pop-Up Menu enabled
205
205
*
206
206
* @return bool
207
+ * @SuppressWarnings(PHPMD.BooleanGetMethodName)
207
208
*/
208
209
public function getIsNeedToDisplaySideBar ()
209
210
{
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ class RemoveItem extends Action
36
36
*/
37
37
protected $ resultPageFactory ;
38
38
39
+ /**
40
+ * @param Context $context
41
+ * @param Sidebar $sidebar
42
+ * @param LoggerInterface $logger
43
+ * @param Data $jsonHelper
44
+ * @param PageFactory $resultPageFactory
45
+ */
39
46
public function __construct (
40
47
Context $ context ,
41
48
Sidebar $ sidebar ,
You can’t perform that action at this time.
0 commit comments