Skip to content

Commit 629f78b

Browse files
committed
Fix static test failure
1 parent ad721ed commit 629f78b

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Widget/Block/Adminhtml/Widget

1 file changed

+3
-0
lines changed

app/code/Magento/Widget/Block/Adminhtml/Widget/Form.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,12 @@ protected function _prepareForm()
8484
*/
8585
protected function _getWidgetSelectOptions()
8686
{
87+
$options = [];
88+
8789
foreach ($this->_getAvailableWidgets(true) as $data) {
8890
$options[$data['type']] = $data['name'];
8991
}
92+
9093
return $options;
9194
}
9295

0 commit comments

Comments
 (0)