Skip to content

Commit 685aa1b

Browse files
committed
MAGETWO-88286: Add Extension point foe content related Attributes
- fix after CR
1 parent d6961a2 commit 685aa1b

File tree

1 file changed

+1
-5
lines changed
  • app/code/Magento/Eav/Model/Adminhtml/System/Config/Source

1 file changed

+1
-5
lines changed

app/code/Magento/Eav/Model/Adminhtml/System/Config/Source/Inputtype.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,9 @@ public function __construct(array $optionsArray = [])
2828
*/
2929
public function toOptionArray()
3030
{
31-
$result = [];
3231
//sort array elements using key value
3332
ksort($this->optionsArray);
34-
foreach ($this->optionsArray as $option) {
35-
$result[] = $option;
36-
}
37-
return $result;
33+
return $this->optionsArray;
3834
}
3935

4036
/**

0 commit comments

Comments
 (0)