Skip to content
Permalink
Browse files

Remove redundant code.

  • Loading branch information...
ADmad committed May 29, 2016
1 parent 64a806b commit b8fbd466c29c442a36f4f7481e7890a8b1cdaa83
Showing with 1 addition and 4 deletions.
  1. +0 −3 src/View/Helper/FormHelper.php
  2. +1 −1 src/View/Widget/FileWidget.php
@@ -1132,9 +1132,6 @@ protected function _getInput($fieldName, $options)
$opts = $options['options'];
unset($options['options']);
return $this->multicheckbox($fieldName, $opts, $options);
case 'url':
$options = $this->_initInputField($fieldName, $options);
return $this->widget($options['type'], $options);
default:
return $this->{$options['type']}($fieldName, $options);
}
@@ -65,7 +65,7 @@ public function render(array $data, ContextInterface $context)
'templateVars' => $data['templateVars'],
'attrs' => $this->_templates->formatAttributes(
$data,
['name', 'val']
['name']
)
]);
}

0 comments on commit b8fbd46

Please sign in to comment.
You can’t perform that action at this time.