Skip to content

Commit 02e7a96

Browse files
author
Olexii Korshenko
committed
MAGETWO-34922: Build stabilization and pull requests support
- fixed unit tests
1 parent 994d802 commit 02e7a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ protected function getDataType()
265265
} elseif (is_subclass_of($dataType, '\Magento\Framework\Model\AbstractExtensibleModel')) {
266266
return self::TYPE_DATA_MODEL;
267267
}
268-
268+
$dataType = ltrim($dataType, '\\');
269269
$sourceClassPreference = $this->objectManagerConfig->getPreference($dataType);
270270
if (empty($sourceClassPreference)) {
271271
throw new \LogicException(

0 commit comments

Comments
 (0)