From 5b50afdcafd150186ea5c7b0e1cad98065590b35 Mon Sep 17 00:00:00 2001 From: Jake Vanderwerf <get@jakevanderwerf.ca> Date: Fri, 28 Aug 2026 18:44:28 +0000 Subject: [PATCH] =A few more phpStorm suggestions, mainly in PHPDocs --- inc/rest/routes/ContentRoutes.php | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/inc/rest/routes/ContentRoutes.php b/inc/rest/routes/ContentRoutes.php index fde2d10..6025b1e 100644 --- a/inc/rest/routes/ContentRoutes.php +++ b/inc/rest/routes/ContentRoutes.php @@ -514,8 +514,9 @@ } /** - * @param WP_Post $post the post object - * + * @param WP_Post $post + * @param bool $skip + * @param bool $fields * @return array */ protected function preparePost(WP_Post $post, bool $skip = false, bool $fields = true): array @@ -555,8 +556,8 @@ } /** - * @param WP_Term $post the post object - * + * @param WP_Term $post + * @param bool $fields * @return array */ protected function prepareTerm(WP_Term $post, bool $fields = true): array -- Gitblit v1.10.0