File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
app/code/Magento/Catalog/ViewModel/Product Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,36 +33,36 @@ class Breadcrumbs extends DataObject implements ArgumentInterface
33
33
private $ scopeConfig ;
34
34
35
35
/**
36
- * @var JsonHexTag
36
+ * @var Escaper
37
37
*/
38
- private $ jsonSerializer ;
38
+ private $ escaper ;
39
39
40
40
/**
41
- * @var Escaper
41
+ * @var JsonHexTag
42
42
*/
43
- private $ escaper ;
43
+ private $ jsonSerializer ;
44
44
45
45
/**
46
46
* @param Data $catalogData
47
47
* @param ScopeConfigInterface $scopeConfig
48
48
* @param Json|null $json
49
- * @param JsonHexTag $jsonSerializer
50
49
* @param Escaper|null $escaper
50
+ * @param JsonHexTag|null $jsonSerializer
51
51
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
52
52
*/
53
53
public function __construct (
54
54
Data $ catalogData ,
55
55
ScopeConfigInterface $ scopeConfig ,
56
56
Json $ json = null ,
57
- JsonHexTag $ jsonSerializer ,
58
- Escaper $ escaper = null
57
+ Escaper $ escaper = null ,
58
+ JsonHexTag $ jsonSerializer = null
59
59
) {
60
60
parent ::__construct ();
61
61
62
62
$ this ->catalogData = $ catalogData ;
63
63
$ this ->scopeConfig = $ scopeConfig ;
64
- $ this ->jsonSerializer = $ jsonSerializer ;
65
64
$ this ->escaper = $ escaper ?: ObjectManager::getInstance ()->get (Escaper::class);
65
+ $ this ->jsonSerializer = $ jsonSerializer ?: ObjectManager::getInstance ()->get (JsonHexTag::class);
66
66
}
67
67
68
68
/**
You can’t perform that action at this time.
0 commit comments