Skip to content

Commit fbf55af

Browse files
author
Yu Tang
committed
MAGETWO-36625: Extended attributes should be optional
- Fix unit test failure
1 parent c378a9f commit fbf55af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Api/Test/Unit/Code/Generator/_files/SampleExtensionInterface.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Magento\Catalog\Api\Data;
66
interface ProductExtensionInterface extends \Magento\Framework\Api\ExtensionAttributesInterface
77
{
88
/**
9-
* @return string
9+
* @return string|null
1010
*/
1111
public function getStringAttribute();
1212

@@ -17,7 +17,7 @@ interface ProductExtensionInterface extends \Magento\Framework\Api\ExtensionAttr
1717
public function setStringAttribute($stringAttribute);
1818

1919
/**
20-
* @return \Magento\Bundle\Api\Data\OptionInterface[]
20+
* @return \Magento\Bundle\Api\Data\OptionInterface[]|null
2121
*/
2222
public function getComplexObjectAttribute();
2323

0 commit comments

Comments
 (0)