File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/internal/Magento/Framework/Reflection Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
namespace Magento \Framework \Reflection ;
8
8
9
9
use Magento \Framework \Phrase ;
10
+ use Magento \Framework \Api \AttributeInterface ;
11
+ use Magento \Framework \Api \AttributeValue ;
10
12
use Magento \Framework \Api \SimpleDataObjectConverter ;
11
13
use Zend \Code \Reflection \MethodReflection ;
12
14
use Magento \Framework \Api \CustomAttributesDataInterface ;
13
15
use Magento \Framework \Api \AttributeTypeResolverInterface ;
14
-
15
16
/**
16
17
* Processes custom attributes and produces an array for the data.
17
18
*/
@@ -59,11 +60,11 @@ public function buildOutputDataArray(CustomAttributesDataInterface $objectWithCu
59
60
/**
60
61
* Convert custom_attribute object to use flat array structure
61
62
*
62
- * @param \Magento\Framework\Api\ AttributeInterface $customAttribute
63
+ * @param AttributeInterface $customAttribute
63
64
* @param string $dataObjectType
64
65
* @return array
65
66
*/
66
- private function convertCustomAttribute ($ customAttribute , $ dataObjectType )
67
+ private function convertCustomAttribute (AttributeInterface $ customAttribute , $ dataObjectType )
67
68
{
68
69
$ data = [];
69
70
$ data [AttributeValue::ATTRIBUTE_CODE ] = $ customAttribute ->getAttributeCode ();
You can’t perform that action at this time.
0 commit comments