@@ -61,7 +61,7 @@ |
||
61 | 61 | * Create current icon. |
62 | 62 | * |
63 | 63 | * @param HtmlHelper $html |
64 | - * @param string|int $title |
|
64 | + * @param string|null $title |
|
65 | 65 | * @param array $options |
66 | 66 | * @return array |
67 | 67 | */ |
@@ -29,12 +29,12 @@ discard block |
||
29 | 29 | 'description' => 'Core plugin for UnionCMS' |
30 | 30 | ], |
31 | 31 | |
32 | - 'Controller.initialize' => function (Controller $controller) { |
|
32 | + 'Controller.initialize' => function(Controller $controller) { |
|
33 | 33 | $controller->loadComponent('RequestHandler'); |
34 | 34 | $controller->loadComponent('Flash'); |
35 | 35 | }, |
36 | 36 | |
37 | - 'View.initialize' => function (AppView $view) { |
|
37 | + 'View.initialize' => function(AppView $view) { |
|
38 | 38 | $view->loadHelper('Core.Nav'); |
39 | 39 | $view->loadHelper('Core.Less'); |
40 | 40 | $view->loadHelper('Core.Assets'); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $view->loadHelper('Html', ['className' => 'Core.Html']); |
46 | 46 | $view->loadHelper('Form', [ |
47 | 47 | 'className' => 'Core.Form', |
48 | - 'prepareBtnClass' => function (\Core\View\Helper\FormHelper $html, $options, $button) { |
|
48 | + 'prepareBtnClass' => function(\Core\View\Helper\FormHelper $html, $options, $button) { |
|
49 | 49 | $options = $html->addClass($options, 'waves-effect waves-light btn'); |
50 | 50 | if (!empty($button)) { |
51 | 51 | $options = $html->addClass($options, Str::trim((string) $button)); |