File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
app/code/Magento/Checkout/Model
dev/tests/integration/_files/Magento/TestModuleQuoteTotalsObserver Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 17
17
* @api
18
18
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
19
19
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
20
+ * @SuppressWarnings(PHPMD.TooManyFields)
20
21
*/
21
22
class Session extends \Magento \Framework \Session \SessionManager
22
23
{
Original file line number Diff line number Diff line change @@ -26,4 +26,3 @@ public function isActive()
26
26
return $ this ->active ;
27
27
}
28
28
}
29
-
Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ class AfterCollectTotals implements ObserverInterface
27
27
* @param \Magento\Checkout\Model\Session $messageManager
28
28
* @param \Magento\TestModuleQuoteTotalsObserver\Model\Config $config
29
29
*/
30
- public function __construct (\Magento \Checkout \Model \Session $ messageManager , \Magento \TestModuleQuoteTotalsObserver \Model \Config $ config )
31
- {
30
+ public function __construct (
31
+ \Magento \Checkout \Model \Session $ messageManager ,
32
+ \Magento \TestModuleQuoteTotalsObserver \Model \Config $ config
33
+ ) {
32
34
$ this ->config = $ config ;
33
35
$ this ->session = $ messageManager ;
34
36
}
@@ -45,4 +47,3 @@ public function execute(\Magento\Framework\Event\Observer $observer)
45
47
}
46
48
}
47
49
}
48
-
You can’t perform that action at this time.
0 commit comments