We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6961a2 commit 685aa1bCopy full SHA for 685aa1b
app/code/Magento/Eav/Model/Adminhtml/System/Config/Source/Inputtype.php
@@ -28,13 +28,9 @@ public function __construct(array $optionsArray = [])
28
*/
29
public function toOptionArray()
30
{
31
- $result = [];
32
//sort array elements using key value
33
ksort($this->optionsArray);
34
- foreach ($this->optionsArray as $option) {
35
- $result[] = $option;
36
- }
37
- return $result;
+ return $this->optionsArray;
38
}
39
40
/**
0 commit comments