Skip to content

Commit

Permalink
Replace ... notation with pseudo intersections
Browse files Browse the repository at this point in the history
  • Loading branch information
IanDelMar committed Oct 10, 2024
1 parent 274fe52 commit a32e45b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functionMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'bool_from_yn' => ["(\$yn is 'y' ? true : false)"],
'have_posts' => [null, '@phpstan-impure' => ''],
'is_new_day' => ['0|1'],
'paginate_links' => ["(\$args is array{total: int<min, 1>}&array ? void : (\$args is array{type: 'array', ...} ? list<string> : string))"],
'paginate_links' => ["(\$args is array{total: int<min, 1>}&array ? void : (\$args is array{type: 'array'}&array ? list<string> : string))"],
'rawurlencode_deep' => ['T', '@phpstan-template' => 'T', 'value' => 'T'],
'sanitize_category' => ['T', '@phpstan-template' => 'T of array|object', 'category' => 'T'],
'sanitize_post' => ['T', '@phpstan-template' => 'T of array|object', 'post' => 'T'],
Expand Down
2 changes: 1 addition & 1 deletion wordpress-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -112735,7 +112735,7 @@ function language_attributes($doctype = 'html')
* before_page_number?: string,
* after_page_number?: string,
* } $args
* @phpstan-return ($args is array{total: int<min, 1>}&array ? void : ($args is array{type: 'array', ...} ? list<string> : string))
* @phpstan-return ($args is array{total: int<min, 1>}&array ? void : ($args is array{type: 'array'}&array ? list<string> : string))
*/
function paginate_links($args = '')
{
Expand Down

0 comments on commit a32e45b

Please sign in to comment.