|
10 | 10 | $cronArgsType = 'list<mixed>';
|
11 | 11 | $wpWidgetRssFormArgsType = 'array{number: int, error: bool, title?: string, url?: string, items?: int, show_summary?: int, show_author?: int, show_date?: int}';
|
12 | 12 | $wpWidgetRssFormInputsType = 'array{title?: bool, url?: bool, items?: bool, show_summary?: bool, show_author?: bool, show_date?: bool}';
|
13 |
| -$filesystemDirlistReturnType = "false|array<string, array{name: string, perms: string, permsn: string, owner: string|false, size: int|string|false, lastmodunix: int|string|false, lastmod: string|false, time: string|false, type: 'f'|'d'|'l', group?: string|false, number?: int|string|false, files?: array|false}>"; |
| 13 | +$filesystemDirlistReturnType = "false|array<string, array{name: string, perms: string, permsn: string, owner: string|false, size: int|string|false, lastmodunix: int|string|false, lastmod: string|false, time: string|false, type: 'f'|'d'|'l', group: string|false, number: int|string|false, files?: array|false}>"; |
14 | 14 |
|
15 | 15 | /**
|
16 | 16 | * This array is in the same format as the function map array in PHPStan:
|
|
41 | 41 | 'WP_Http::head' => [$httpReturnType],
|
42 | 42 | 'WP_Http::post' => [$httpReturnType],
|
43 | 43 | 'WP_Http::request' => [$httpReturnType],
|
44 |
| - 'WP_List_Table::display_tablenav' => ['void', 'which' => '"top"|"bottom"'], |
45 |
| - 'WP_List_Table::pagination' => ['void', 'which' => '"top"|"bottom"'], |
46 | 44 | 'WP_List_Table::set_pagination_args' => ['void', 'args' => 'array{total_items?: int, total_pages?: int, per_page?: int}'],
|
47 | 45 | 'wp_next_scheduled' => [null, 'args' => $cronArgsType],
|
48 | 46 | 'WP_Query::have_posts' => [null, '@phpstan-impure' => ''],
|
|
0 commit comments