We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66a738 commit 02c61ccCopy full SHA for 02c61cc
app/code/Magento/DownloadableSampleData/Model/Product/Converter.php
@@ -44,10 +44,10 @@ public function __construct(
44
$attrOptionCollectionFactory,
45
$productCollectionFactory
46
);
47
- $this->fileContentFactory = $fileContentFactory ?: ObjectManager::getInstance()->create(
+ $this->fileContentFactory = $fileContentFactory ?: ObjectManager::getInstance()->get(
48
\Magento\Downloadable\Api\Data\File\ContentInterfaceFactory::class
49
50
- $this->filesystem = $filesystem ?: ObjectManager::getInstance()->create(
+ $this->filesystem = $filesystem ?: ObjectManager::getInstance()->get(
51
Filesystem::class
52
53
}
0 commit comments