Skip to content

Commit dfe9e14

Browse files
author
Yasuo Harada
committed
fixed code style
1 parent 9ef4ef7 commit dfe9e14

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

Controller/BoostCakeController.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class BoostCakeController extends AppController {
1313
'Paginator' => array('className' => 'BoostCake.BoostCakePaginator'),
1414
);
1515

16+
/**
17+
* beforeFilter
18+
* @throws MethodNotAllowedException
19+
*/
1620
public function beforeFilter() {
1721
if (Configure::read('debug') < 1) {
1822
throw new MethodNotAllowedException(__('Debug setting does not allow access to this url.'));
@@ -56,4 +60,4 @@ public function bootstrap3() {
5660
), 'danger');
5761
}
5862

59-
}
63+
}

View/Helper/BoostCakeFormHelper.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ public function input($fieldName, $options = array()) {
7676
'afterInput' => '',
7777
'errorClass' => 'has-error error'
7878
);
79-
80-
if (isset($options['label']) && is_string($options['label'])) {
81-
$options['label'] = array(
82-
'text' => $options['label']
83-
);
84-
}
79+
80+
if (isset($options['label']) && is_string($options['label'])) {
81+
$options['label'] = array(
82+
'text' => $options['label']
83+
);
84+
}
8585

8686
$options = Hash::merge(
8787
$default,

0 commit comments

Comments
 (0)