Skip to content

Commit 45f83e9

Browse files
committed
Remove reference to external type
1 parent bd005a4 commit 45f83e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/Api/DataObjectHelper.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ protected function _setDataValues($dataObject, array $data, $interfaceName)
109109
unset($data[CustomAttributesDataInterface::CUSTOM_ATTRIBUTES]);
110110
}
111111
if ($dataObject instanceof \Magento\Framework\Model\AbstractModel
112-
&& !$dataObject instanceof \Magento\Quote\Api\Data\AddressInterface
113-
//&& !isset($data['items'])?? $data['items'][0]['is_tax_included']) {
112+
&& $interfaceName !== '\Magento\Quote\Api\Data\AddressInterface'
114113
&& !isset($data['items'])) {
115114
$simpleData = array_filter($data, function ($e) {
116115
return is_scalar($e) || is_null($e);

0 commit comments

Comments
 (0)