From 3f3c1061fecf11f89982498fa69dfb1a471b6133 Mon Sep 17 00:00:00 2001 From: Justin Shreve Date: Thu, 31 Oct 2024 14:44:05 -0400 Subject: [PATCH] Fix docblock type --- .../class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php index 2a194c3ecbf70..d653da7a35f5b 100644 --- a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php +++ b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php @@ -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' ) ) {