Skip to content

Commit a234532

Browse files
Apply suggestions from code review
Co-authored-by: Weston Ruter <[email protected]>
1 parent 5cffcde commit a234532

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wp-admin/includes/class-wp-comments-list-table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public function no_items() {
245245
* @global string $comment_status
246246
* @global string $comment_type
247247
*
248-
* @return string[] Array of comment status links.
248+
* @return array<string, string> Comment status HTML links keyed by view.
249249
*/
250250
protected function get_views() {
251251
global $post_id, $comment_status, $comment_type;
@@ -370,7 +370,7 @@ protected function get_views() {
370370
*
371371
* @global string $comment_status Current comment status filter.
372372
*
373-
* @return array List of bulk action labels keyed by action name.
373+
* @return array<string, string> Bulk action labels keyed by action name.
374374
*/
375375
protected function get_bulk_actions() {
376376
global $comment_status;
@@ -569,7 +569,7 @@ protected function comment_type_dropdown( $comment_type ) {
569569
/**
570570
* Gets a list of sortable columns.
571571
*
572-
* @return array An associative array containing the sortable columns.
572+
* @return array<string, string|array> The sortable columns.
573573
*/
574574
protected function get_sortable_columns() {
575575
return array(

0 commit comments

Comments
 (0)