Completed
Push — master ( cbcd3f...d43673 )
by Beñat
07:32 queued 13s
created
src/PostTypes/Fields/Templates/PageFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 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('admin_init', [$this, 'removeScreenAttributes']);
41
+            add_action('admin_init', [ $this, 'removeScreenAttributes' ]);
42 42
         }
43 43
     }
44 44
 
Please login to merge, or discard this patch.
src/PostTypes/Fields/CustomPostTypeFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/PostTypes/Fields/Fields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,6 @@
 block discarded – undo
30 30
      */
31 31
     public function components()
32 32
     {
33
-        return [];
33
+        return [ ];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.