Completed
Push — master ( 261499...3196a9 )
by Beñat
07:26
created
src/Configuration/Acf/Wysiwyg.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function __construct($toolbars)
28 28
     {
29 29
         $this->toolbars = $toolbars;
30
-        add_filter('acf/fields/wysiwyg/toolbars', [$this, 'toolbars']);
30
+        add_filter('acf/fields/wysiwyg/toolbars', [ $this, 'toolbars' ]);
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
src/Configuration/Theme/Theme.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
         $this->acf();
30 30
         $this->classes();
31 31
         add_theme_support('post-thumbnails');
32
-        add_filter('timber_context', [$this, 'context']);
33
-        add_filter('template_selector_available', [$this, 'templates']);
32
+        add_filter('timber_context', [ $this, 'context' ]);
33
+        add_filter('template_selector_available', [ $this, 'templates' ]);
34 34
     }
35 35
 
36 36
     /**
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     protected function acf()
40 40
     {
41 41
         new Wysiwyg([
42
-            'lin3s' => [1 => ['bold', 'italic', 'bullist', 'numlist', 'link', 'unlink']]
42
+            'lin3s' => [ 1 => [ 'bold', 'italic', 'bullist', 'numlist', 'link', 'unlink' ] ]
43 43
         ]);
44 44
     }
45 45
 }
Please login to merge, or discard this patch.