@@ -38,7 +38,7 @@ |
||
| 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('admin_init', [$this, 'removeScreenAttributes']); |
|
| 41 | + add_action('admin_init', [ $this, 'removeScreenAttributes' ]); |
|
| 42 | 42 | } |
| 43 | 43 | } |
| 44 | 44 | |
@@ -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 | } |