Format to CakePHP code sniffs

This commit is contained in:
aread22 2013-09-01 21:08:17 -04:00
parent 64bb74a7e8
commit 4ab1c8c225

View file

@ -1520,9 +1520,9 @@ class FormHelper extends AppHelper {
); );
if ($label) { if ($label) {
if(is_array($label)) { if (is_array($label)) {
$optTitle = $this->label($tagName, $optTitle, $label); $optTitle = $this->label($tagName, $optTitle, $label);
}else{ } else {
$optTitle = $this->Html->useTag('label', $tagName, '', $optTitle); $optTitle = $this->Html->useTag('label', $tagName, '', $optTitle);
} }
} }