Propose to make the «config» param optional for the \Magento\Framework\Data\Form\AbstractForm::addField() method


magento2/AbstractForm.php at 2.0.0 · magento/magento2 · GitHub

https://github.com/magento/magento2/issues/2772