Skip to content

Commit

Permalink
Remove unused variable, remove unnecessary variable initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Feb 28, 2014
1 parent 148fd51 commit 015b7cf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/View/Helper/FormHelper.php
Expand Up @@ -1182,7 +1182,6 @@ public function checkbox($fieldName, $options = []) {
public function radio($fieldName, $options = [], $attributes = []) {
$attributes = $this->_initInputField($fieldName, $attributes);

$out = [];
$hiddenField = isset($attributes['hiddenField']) ? $attributes['hiddenField'] : true;
unset($attributes['hiddenField']);

Expand Down Expand Up @@ -1484,7 +1483,6 @@ public function submit($caption = null, $options = array()) {
if (!is_string($caption) && empty($caption)) {
$caption = __d('cake', 'Submit');
}
$out = null;
$div = true;

if (isset($options['div'])) {
Expand Down

0 comments on commit 015b7cf

Please sign in to comment.