Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgrainger committed May 21, 2022
1 parent 2925d32 commit 4beab6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostType.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function register()
if (!post_type_exists($this->name)) {
add_action('init', [$this, 'registerPostType']);
} else {
add_filter( 'register_post_type_args', [$this, 'modifyPostType'], 10, 2);
add_filter('register_post_type_args', [$this, 'modifyPostType'], 10, 2);
}

// register Taxonomies to the PostType
Expand Down

0 comments on commit 4beab6a

Please sign in to comment.