File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/SalesSampleData/Model/Order Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
use Magento \Customer \Api \CustomerRepositoryInterface ;
9
9
use Magento \Framework \App \ObjectManager ;
10
- use Magento \Framework \Serialize \SerializerInterface ;
10
+ use Magento \Framework \Serialize \Serializer \ Json ;
11
11
12
12
/**
13
13
* Class Converter
@@ -35,7 +35,7 @@ class Converter
35
35
protected $ eavConfig ;
36
36
37
37
/**
38
- * @var SerializerInterface
38
+ * @var Json
39
39
*/
40
40
protected $ serializer ;
41
41
@@ -44,14 +44,14 @@ class Converter
44
44
* @param \Magento\Catalog\Model\ProductFactory $productFactory
45
45
* @param \Magento\ConfigurableSampleData\Model\Product\ConverterFactory $productConverterFactory
46
46
* @param \Magento\Eav\Model\Config $eavConfig
47
- * @param SerializerInterface $serializer
47
+ * @param Json $serializer
48
48
*/
49
49
public function __construct (
50
50
CustomerRepositoryInterface $ customerAccount ,
51
51
\Magento \Catalog \Model \ProductFactory $ productFactory ,
52
52
\Magento \ConfigurableSampleData \Model \Product \ConverterFactory $ productConverterFactory ,
53
53
\Magento \Eav \Model \Config $ eavConfig ,
54
- SerializerInterface $ serializer = null
54
+ Json $ serializer = null
55
55
) {
56
56
$ this ->customerRepository = $ customerAccount ;
57
57
$ this ->productFactory = $ productFactory ;
You can’t perform that action at this time.
0 commit comments