Skip to content

Commit 6c5b333

Browse files
committed
Docs: Address reviewer feedback in WP_Plugin_Install_List_Table
1 parent 28a3cc6 commit 6c5b333

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/wp-admin/includes/class-wp-plugin-install-list-table.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ public function no_items() {
322322
*
323323
* @since 3.1.0
324324
*
325-
* @global array $tabs The tabs shown on the Add Plugins screen.
326-
* @global string $tab The current active tab.
325+
* @global string[] $tabs The tabs shown on the Add Plugins screen.
326+
* @global string $tab The current active tab.
327327
*
328-
* @return array Array of view links.
328+
* @return string[] Array of view links keyed by their ID.
329329
*/
330330
protected function get_views() {
331331
global $tabs, $tab;
@@ -467,7 +467,7 @@ protected function get_table_classes() {
467467
*
468468
* @since 3.1.0
469469
*
470-
* @return array Array of column titles.
470+
* @return string[] Array of column titles keyed by their column name.
471471
*/
472472
public function get_columns() {
473473
return array();

0 commit comments

Comments
 (0)