@@ -26,10 +26,10 @@ |
||
26 | 26 | { |
27 | 27 | |
28 | 28 | /** |
29 | - * List of helpers used by this helper. |
|
30 | - * |
|
31 | - * @var array |
|
32 | - */ |
|
29 | + * List of helpers used by this helper. |
|
30 | + * |
|
31 | + * @var array |
|
32 | + */ |
|
33 | 33 | public $helpers = [ |
34 | 34 | 'Url' => ['className' => 'Core.Url'], |
35 | 35 | 'Html' => ['className' => 'Backend.Html'], |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * @var array |
32 | 32 | */ |
33 | 33 | public $helpers = [ |
34 | - 'Url' => ['className' => 'Core.Url'], |
|
35 | - 'Html' => ['className' => 'Backend.Html'], |
|
34 | + 'Url' => [ 'className' => 'Core.Url' ], |
|
35 | + 'Html' => [ 'className' => 'Backend.Html' ], |
|
36 | 36 | ]; |
37 | 37 | } |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * @var array |
32 | 32 | */ |
33 | 33 | public $helpers = [ |
34 | - 'Url' => ['className' => 'Core.Url'], |
|
35 | - 'Html' => ['className' => 'Backend.Html'], |
|
34 | + 'Url' => [ 'className' => 'Core.Url' ], |
|
35 | + 'Html' => [ 'className' => 'Backend.Html' ], |
|
36 | 36 | ]; |
37 | 37 | } |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | 'type' => 'theme', |
31 | 31 | 'backend' => true, |
32 | 32 | ], |
33 | - 'View.initialize' => function (AppView $view) { |
|
33 | + 'View.initialize' => function(AppView $view) { |
|
34 | 34 | $helpers = $view->helpers(); |
35 | 35 | |
36 | 36 | $helpers->unload('Form'); |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $view->loadHelper('Backend.Assets'); |
41 | 41 | $view->loadHelper('Html', [ |
42 | 42 | 'className' => 'Backend.Html', |
43 | - 'prepareBtnClass' => function (HtmlHelper $html, $options, $button) { |
|
43 | + 'prepareBtnClass' => function(HtmlHelper $html, $options, $button) { |
|
44 | 44 | $options = $html->addClass($options, 'waves-effect waves-light btn'); |
45 | 45 | if (!empty($button)) { |
46 | 46 | $options = $html->addClass($options, Str::trim((string) $button)); |