Completed
Push — master ( 52d89b...185a2d )
by Beñat
04:41
created
src/PostTypes/Fields/Templates/PageFields.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
         } elseif (isset($updatePostId)) {
38 38
             $postId = absint($updatePostId);
39 39
         } else {
40
-            add_action('add_meta_boxes', [$this, 'addMetaBox']);
40
+            add_action('add_meta_boxes', [ $this, 'addMetaBox' ]);
41 41
         }
42 42
         if (false === isset($postId) || $this->name === get_post_meta($postId, '_wp_page_template', true)) {
43
-            add_action('admin_init', [$this, 'removeScreenAttributes']);
43
+            add_action('admin_init', [ $this, 'removeScreenAttributes' ]);
44 44
         }
45 45
     }
46 46
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         add_meta_box(
84 84
             'lin3s-id-default-meta-box',
85 85
             'LIN3S INFO',
86
-            [$this, 'metaBox'],
86
+            [ $this, 'metaBox' ],
87 87
             'page'
88 88
         );
89 89
     }
Please login to merge, or discard this patch.