We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d903c commit 001f7ebCopy full SHA for 001f7eb
app/code/Magento/CatalogImportExport/Model/Import/Product.php
@@ -865,11 +865,8 @@ public function __construct(
865
$string,
866
$errorAggregator
867
);
868
- $this->_optionEntity = isset(
869
- $data['option_entity']
870
- ) ? $data['option_entity'] : $optionFactory->create(
871
- ['data' => ['product_entity' => $this]]
872
- );
+ $this->_optionEntity = $data['option_entity'] ??
+ $optionFactory->create(['data' => ['product_entity' => $this]]);
873
$this->_initAttributeSets()
874
->_initTypeModels()
875
->_initSkus()
0 commit comments