Skip to content

Commit

Permalink
Fix docblock type
Browse files Browse the repository at this point in the history
  • Loading branch information
justinshreve committed Nov 18, 2024
1 parent 1a540cf commit 3f3c106
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 3f3c106

Please sign in to comment.