We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98478af commit aa887ffCopy full SHA for aa887ff
app/code/Magento/Checkout/Controller/Cart/Addgroup.php
@@ -10,6 +10,9 @@
10
use Magento\Framework\Escaper;
11
use Magento\Framework\App\ObjectManager;
12
13
+/**
14
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
15
+ */
16
class Addgroup extends \Magento\Checkout\Controller\Cart
17
{
18
/**
@@ -56,8 +59,8 @@ public function execute()
56
59
$this->cart->addOrderItem($item, 1);
57
60
if (!$this->cart->getQuote()->getHasError()) {
58
61
$message = __(
- 'You added %1 to your shopping cart.',
- $this->escaper->escapeHtml($item->getName())
62
+ 'You added %1 to your shopping cart.',
63
+ $this->escaper->escapeHtml($item->getName())
64
);
65
$this->messageManager->addSuccessMessage($message);
66
}
0 commit comments