From 3c0978caf211c88e65e7c2440f87669b01364fea Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Sun, 14 Apr 2024 17:03:46 +0200 Subject: [PATCH] Update functionMap.php --- functionMap.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functionMap.php b/functionMap.php index b051271..a283757 100644 --- a/functionMap.php +++ b/functionMap.php @@ -10,7 +10,7 @@ $cronArgsType = 'list'; $wpWidgetRssFormArgsType = 'array{number: int, error: bool, title?: string, url?: string, items?: int, show_summary?: int, show_author?: int, show_date?: int}'; $wpWidgetRssFormInputsType = 'array{title?: bool, url?: bool, items?: bool, show_summary?: bool, show_author?: bool, show_date?: bool}'; -$filesystemDirlistReturnType = "false|array"; +$filesystemDirlistReturnType = "false|array"; /** * This array is in the same format as the function map array in PHPStan: @@ -41,8 +41,6 @@ 'WP_Http::head' => [$httpReturnType], 'WP_Http::post' => [$httpReturnType], 'WP_Http::request' => [$httpReturnType], - 'WP_List_Table::display_tablenav' => ['void', 'which' => '"top"|"bottom"'], - 'WP_List_Table::pagination' => ['void', 'which' => '"top"|"bottom"'], 'WP_List_Table::set_pagination_args' => ['void', 'args' => 'array{total_items?: int, total_pages?: int, per_page?: int}'], 'wp_next_scheduled' => [null, 'args' => $cronArgsType], 'WP_Query::have_posts' => [null, '@phpstan-impure' => ''],