@@ -30,6 +30,6 @@ |
||
30 | 30 | */ |
31 | 31 | public function components() |
32 | 32 | { |
33 | - return []; |
|
33 | + return [ ]; |
|
34 | 34 | } |
35 | 35 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | $this->fields(); |
28 | 28 | $this->connector(); |
29 | 29 | |
30 | - add_action('admin_init', [$this, 'removeScreenAttributes']); |
|
30 | + add_action('admin_init', [ $this, 'removeScreenAttributes' ]); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -30,6 +30,6 @@ |
||
30 | 30 | */ |
31 | 31 | public function components() |
32 | 32 | { |
33 | - return []; |
|
33 | + return [ ]; |
|
34 | 34 | } |
35 | 35 | } |
@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | $postId = absint($updatePostId); |
39 | 39 | } |
40 | 40 | if (false === isset($postId) || $this->name === get_post_meta($postId, '_wp_page_template', true)) { |
41 | - add_action('add_meta_boxes', [$this, 'addMetaBox']); |
|
42 | - add_action('admin_init', [$this, 'removeScreenAttributes']); |
|
41 | + add_action('add_meta_boxes', [ $this, 'addMetaBox' ]); |
|
42 | + add_action('admin_init', [ $this, 'removeScreenAttributes' ]); |
|
43 | 43 | } |
44 | 44 | } |
45 | 45 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | add_meta_box( |
83 | 83 | 'lin3s-id-default-meta-box', |
84 | 84 | 'LIN3S INFO', |
85 | - [$this, 'metaBox'], |
|
85 | + [ $this, 'metaBox' ], |
|
86 | 86 | 'page' |
87 | 87 | ); |
88 | 88 | } |
@@ -99,6 +99,6 @@ |
||
99 | 99 | <h1 style="text-align: center;"> |
100 | 100 | PLEASE ADD <strong>PAGE TITLE</strong> AND SELECT A TEMPLATE IN THE <strong>TEMPLATE SELECTOR</strong> |
101 | 101 | </h1> |
102 | -EOF; |
|
102 | +eof; |
|
103 | 103 | } |
104 | 104 | } |