Completed
Push — master ( 38b0c2...2d5aa6 )
by Cheren
01:35
created
src/View/Widget/TextareaWidget.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@
 block discarded – undo
44 44
      */
45 45
     public function render(array $data, ContextInterface $context)
46 46
     {
47
-        $data = array_merge(['class' => null], $data);
47
+        $data = array_merge([ 'class' => null ], $data);
48 48
 
49
-        $data['class'] .= ' materialize-textarea';
50
-        $data['class'] = Str::trim($data['class']);
49
+        $data[ 'class' ] .= ' materialize-textarea';
50
+        $data[ 'class' ] = Str::trim($data[ 'class' ]);
51 51
 
52 52
         return parent::render($data, $context);
53 53
     }
Please login to merge, or discard this patch.
plugin.manifest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         'type'        => 'theme',
32 32
         'backend'     => true,
33 33
     ],
34
-    'View.initialize' => function (AppView $view) {
34
+    'View.initialize' => function(AppView $view) {
35 35
         $helpers = $view->helpers();
36 36
 
37 37
         $helpers->unload('Form');
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
         $view->loadHelper('Form', [
46 46
             'className' => 'Backend.Form',
47 47
             'widgets'   => [
48
-                'file'     => ['Backend\View\Widget\FileWidget'],
49
-                'textarea' => ['Backend\View\Widget\TextareaWidget'],
50
-                'checkbox' => ['Backend\View\Widget\CheckboxWidget']
48
+                'file'     => [ 'Backend\View\Widget\FileWidget' ],
49
+                'textarea' => [ 'Backend\View\Widget\TextareaWidget' ],
50
+                'checkbox' => [ 'Backend\View\Widget\CheckboxWidget' ]
51 51
             ]
52 52
         ]);
53 53
     }
Please login to merge, or discard this patch.