Completed
Push — master ( d43673...9c9fd4 )
by Beñat
12:39
created
src/PostTypes/Fields/Templates/PageFields.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.