Skip to content

Commit

Permalink
Github #99: Sync "develop-storefront" with master branches
Browse files Browse the repository at this point in the history
  • Loading branch information
le0n4ik committed Aug 3, 2020
1 parent cfa2925 commit ec05ff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/Magento/Framework/Api/DataObjectHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ protected function setComplexValue(
$object = $this->extensionFactory->create(get_class($dataObject), ['data' => $value]);
} else {
$object = $this->objectFactory->create($returnType, $value);
$this->populateWithArray($object, $value, $returnType);
}
$dataObject->$methodName($object);
return $this;
Expand Down

0 comments on commit ec05ff6

Please sign in to comment.