|
10 | 10 | * @link https://github.com/phpstan/phpstan-src/blob/1.5.x/resources/functionMap.php |
11 | 11 | */ |
12 | 12 | return [ |
| 13 | + 'WP_Http::get' => [$httpReturnType], |
| 14 | + 'WP_Http::head' => [$httpReturnType], |
| 15 | + 'WP_Http::post' => [$httpReturnType], |
| 16 | + 'WP_Http::request' => [$httpReturnType], |
| 17 | + 'WP_List_Table::display_tablenav' => ['void', 'which'=>'"top"|"bottom"'], |
| 18 | + 'WP_List_Table::pagination' => ['void', 'which'=>'"top"|"bottom"'], |
13 | 19 | 'wp_remote_get' => [$httpReturnType], |
14 | 20 | 'wp_remote_head' => [$httpReturnType], |
15 | 21 | 'wp_remote_post' => [$httpReturnType], |
|
18 | 24 | 'wp_safe_remote_head' => [$httpReturnType], |
19 | 25 | 'wp_safe_remote_post' => [$httpReturnType], |
20 | 26 | 'wp_safe_remote_request' => [$httpReturnType], |
21 | | - 'WP_Http::get' => [$httpReturnType], |
22 | | - 'WP_Http::head' => [$httpReturnType], |
23 | | - 'WP_Http::post' => [$httpReturnType], |
24 | | - 'WP_Http::request' => [$httpReturnType], |
25 | | - 'WP_List_Table::display_tablenav' => ['void', 'which'=>'"top"|"bottom"'], |
26 | | - 'WP_List_Table::pagination' => ['void', 'which'=>'"top"|"bottom"'], |
27 | 27 | ]; |
0 commit comments