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/FeedRoutes.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/inc/rest/routes/FeedRoutes.php b/inc/rest/routes/FeedRoutes.php
index debc0a8..5b7b1b8 100644
--- a/inc/rest/routes/FeedRoutes.php
+++ b/inc/rest/routes/FeedRoutes.php
@@ -101,9 +101,9 @@
}
/**
- * Formats an item
* @param int $postID
- *
+ * @param string $type
+ * @param $skip
* @return array
*/
protected function formatItem(int $postID, string $type = 'post', $skip = false): array
@@ -436,7 +436,7 @@
* @param array $items Formatted Args for WP_Query
* @param array $data parsed Request Data
*
- * @return array|null
+ * @return array
*/
protected function processHighlightedItem(array $items, array $data): array
{
@@ -517,7 +517,7 @@
/**
* @param array $args
- * @param array $filters
+ * @param array $data
*
* @return array
*/
--
Gitblit v1.10.0