@@ -29,8 +29,8 @@ discard block |
||
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 |
||
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 | } |