Skip to content

Commit 50775f1

Browse files
author
Mikhail Solovayn
committed
[MAG2-276] patch for fix Klarna kco issue State already exists in context object
1 parent 22c0a03 commit 50775f1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--- /home/mikhail/dev/runandrelax/vendor/klarna/module-kco-core/Block/Info/Klarna.php 2019-02-01 15:20:19.679727993 +0300
2+
+++ /home/mikhail/dev/runandrelax/vendor/klarna/module-kco-core/Block/Info/Klarna.php 2019-02-01 15:20:36.567895152 +0300
3+
@@ -68,7 +68,6 @@
4+
MerchantPortal $merchantPortal,
5+
Resolver $locale,
6+
DataObjectFactory $dataObjectFactory,
7+
- State $appState,
8+
array $data = []
9+
) {
10+
parent::__construct($context, $data);
11+
@@ -77,7 +76,7 @@
12+
$this->locale = $locale;
13+
$this->merchantPortal = $merchantPortal;
14+
$this->dataObjectFactory = $dataObjectFactory;
15+
- $this->appState = $appState;
16+
+ $this->appState = $context->getAppState();
17+
}
18+
19+
/**

0 commit comments

Comments
 (0)