File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed
app/code/Magento/Checkout Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ class Shipping extends \Magento\Checkout\Block\Cart\AbstractCart
31
31
* @param \Magento\Checkout\Model\Session $checkoutSession
32
32
* @param \Magento\Checkout\Model\CompositeConfigProvider $configProvider
33
33
* @param array $layoutProcessors
34
- * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
35
34
* @param array $data
35
+ * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
36
36
* @throws \RuntimeException
37
37
*/
38
38
public function __construct (
@@ -41,8 +41,8 @@ public function __construct(
41
41
\Magento \Checkout \Model \Session $ checkoutSession ,
42
42
\Magento \Checkout \Model \CompositeConfigProvider $ configProvider ,
43
43
array $ layoutProcessors = [],
44
- \ Magento \ Framework \ Serialize \ Serializer \ Json $ serializer = null ,
45
- array $ data = []
44
+ array $ data = [] ,
45
+ \ Magento \ Framework \ Serialize \ Serializer \ Json $ serializer = null
46
46
) {
47
47
$ this ->configProvider = $ configProvider ;
48
48
$ this ->layoutProcessors = $ layoutProcessors ;
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ class Sidebar extends AbstractCart
38
38
* @param \Magento\Checkout\Model\Session $checkoutSession
39
39
* @param \Magento\Catalog\Helper\Image $imageHelper
40
40
* @param \Magento\Customer\CustomerData\JsLayoutDataProviderPoolInterface $jsLayoutDataProvider
41
- * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
42
41
* @param array $data
42
+ * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
43
43
* @throws \RuntimeException
44
44
*/
45
45
public function __construct (
@@ -48,8 +48,8 @@ public function __construct(
48
48
\Magento \Checkout \Model \Session $ checkoutSession ,
49
49
\Magento \Catalog \Helper \Image $ imageHelper ,
50
50
\Magento \Customer \CustomerData \JsLayoutDataProviderPoolInterface $ jsLayoutDataProvider ,
51
- \ Magento \ Framework \ Serialize \ Serializer \ Json $ serializer = null ,
52
- array $ data = []
51
+ array $ data = [] ,
52
+ \ Magento \ Framework \ Serialize \ Serializer \ Json $ serializer = null
53
53
) {
54
54
if (isset ($ data ['jsLayout ' ])) {
55
55
$ this ->jsLayout = array_merge_recursive ($ jsLayoutDataProvider ->getData (), $ data ['jsLayout ' ]);
Original file line number Diff line number Diff line change @@ -46,17 +46,17 @@ class Onepage extends \Magento\Framework\View\Element\Template
46
46
* @param \Magento\Framework\Data\Form\FormKey $formKey
47
47
* @param \Magento\Checkout\Model\CompositeConfigProvider $configProvider
48
48
* @param array $layoutProcessors
49
- * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
50
49
* @param array $data
50
+ * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
51
51
* @throws \RuntimeException
52
52
*/
53
53
public function __construct (
54
54
\Magento \Framework \View \Element \Template \Context $ context ,
55
55
\Magento \Framework \Data \Form \FormKey $ formKey ,
56
56
\Magento \Checkout \Model \CompositeConfigProvider $ configProvider ,
57
57
array $ layoutProcessors = [],
58
- \ Magento \ Framework \ Serialize \ Serializer \ Json $ serializer = null ,
59
- array $ data = []
58
+ array $ data = [] ,
59
+ \ Magento \ Framework \ Serialize \ Serializer \ Json $ serializer = null
60
60
) {
61
61
parent ::__construct ($ context , $ data );
62
62
$ this ->formKey = $ formKey ;
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ protected function setUp()
82
82
$ this ->checkoutSession ,
83
83
$ this ->configProvider ,
84
84
[$ this ->layoutProcessor ],
85
- $ this ->serializer ,
86
- [ ' jsLayout ' => $ this ->layout ]
85
+ [ ' jsLayout ' => $ this ->layout ] ,
86
+ $ this ->serializer
87
87
);
88
88
}
89
89
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ protected function setUp()
66
66
$ this ->formKeyMock ,
67
67
$ this ->configProviderMock ,
68
68
[$ this ->layoutProcessorMock ],
69
- $ this -> serializer ,
70
- []
69
+ [] ,
70
+ $ this -> serializer
71
71
);
72
72
}
73
73
You can’t perform that action at this time.
0 commit comments