@@ -69,7 +69,7 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | return $data; |
72 | - } |
|
72 | + } |
|
73 | 73 | |
74 | 74 | /** |
75 | 75 | * |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | 'description' => 'Core plugin for UnionCMS' |
31 | 31 | ], |
32 | 32 | |
33 | - 'Controller.initialize' => function (Controller $controller) { |
|
33 | + 'Controller.initialize' => function(Controller $controller) { |
|
34 | 34 | $controller->loadComponent('Csrf'); |
35 | 35 | $controller->loadComponent('Cookie'); |
36 | 36 | $controller->loadComponent('Security', [ |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | ]); |
47 | 47 | }, |
48 | 48 | |
49 | - 'View.initialize' => function (AppView $view) { |
|
49 | + 'View.initialize' => function(AppView $view) { |
|
50 | 50 | $view->loadHelper('Core.Nav'); |
51 | 51 | $view->loadHelper('Core.Less'); |
52 | 52 | $view->loadHelper('Core.Assets'); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | $view->loadHelper('Html', ['className' => 'Core.Html']); |
57 | 57 | $view->loadHelper('Form', [ |
58 | 58 | 'className' => 'Core.Form', |
59 | - 'prepareBtnClass' => function (FormHelper $html, $options, $button) { |
|
59 | + 'prepareBtnClass' => function(FormHelper $html, $options, $button) { |
|
60 | 60 | $options = $html->addClass($options, 'waves-effect waves-light btn'); |
61 | 61 | if (!empty($button)) { |
62 | 62 | $options = $html->addClass($options, Str::trim((string) $button)); |