Skip to content

Commit e1b04da

Browse files
committed
PHPCS.
1 parent 4161f38 commit e1b04da

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Core/Schema/Nominations.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,13 @@ public function register_post_type() {
134134
register_post_type( $this->post_type, $args );
135135

136136
// We must 'show_in_menu' but we also want to remove the 'Nominations' item from the admin menu.
137-
add_action( 'admin_menu', function() {
138-
remove_submenu_page( PF_MENU_SLUG, 'edit.php?post_type=nomination' );
139-
}, 999 );
137+
add_action(
138+
'admin_menu',
139+
function() {
140+
remove_submenu_page( PF_MENU_SLUG, 'edit.php?post_type=nomination' );
141+
},
142+
999
143+
);
140144
}
141145

142146
/**

0 commit comments

Comments
 (0)