Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Vlasenko <43744263+anton-vlasenko@users.noreply.github.com>
  • Loading branch information
getdave and anton-vlasenko authored Nov 13, 2024
1 parent 29cafb9 commit 7ddfb5a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct() {
* Associative array containing found IDs and total count for the matching search results.
*
* @type int[] $ids Found post archive IDs.
* @type string|int|WP_Error $total Numeric string containing the number of post-type archives found, or WP_Error object.
* @type int $total The number of post-type archives found.
* }
*/
public function search_items( WP_REST_Request $request ) {
Expand Down Expand Up @@ -79,7 +79,7 @@ public function search_items( WP_REST_Request $request ) {
* @return array {
* Associative array containing fields for the post-archive based on the `$fields` parameter.
*
* @type string $id Optional. Post Archive Slug.
* @type id $id Optional. Post Archive Slug.
* @type string $title Optional. Post Archive name.
* @type string $url Optional. Post Archive permalink URL.
* }
Expand Down

0 comments on commit 7ddfb5a

Please sign in to comment.