Skip to content

Commit 5ec486d

Browse files
committed
fixed for code standard
1 parent df7850e commit 5ec486d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

View/Helper/BoostCakeFormHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ protected function _selectOptions($elements = array(), $parents = array(), $show
215215
$option = preg_replace('/<\/div>/', '', $option);
216216
if (preg_match('/>(<label.*?>)/', $option, $match)) {
217217
if (preg_match('/.* class="(.*)".*/', $match[1], $classMatch)) {
218-
$attributes['class'] = $classMatch[1].' '.$attributes['class'];
219-
$match[1] = str_replace('class="'.$classMatch[1].'"', '', $match[1]);
218+
$attributes['class'] = $classMatch[1] . ' ' . $attributes['class'];
219+
$match[1] = str_replace('class="' . $classMatch[1] . '"', '', $match[1]);
220220
}
221221
$option = $match[1] . preg_replace('/<label.*?>/', ' ', $option);
222222
if (isset($attributes['class'])) {

0 commit comments

Comments
 (0)