Skip to content

Commit

Permalink
Fix docblock type
Browse files Browse the repository at this point in the history
  • Loading branch information
justinshreve committed Oct 31, 2024
1 parent 3035c18 commit aa1e647
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function register_routes() {
/**
* Check if the request has permissions to access the endpoint.
*
* @return bool
* @return bool|WP_Error
*/
public function check_permissions() {
if ( current_user_can( 'edit_posts' ) ) {
Expand Down

0 comments on commit aa1e647

Please sign in to comment.