mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 23:49:55 +00:00
Format to CakePHP code sniffs
This commit is contained in:
parent
64bb74a7e8
commit
4ab1c8c225
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue