Skip to content

Commit 3679229

Browse files
committed
More fixes.
1 parent b32a1eb commit 3679229

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

ISSUES.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,5 @@ _No hooks with empty param types._
6060

6161
Hooks with `@param` tags where types are not valid PHP docblock types.
6262

63-
- `block_editor_rest_api_preload_paths` — $preload_paths: `(string` (wp-includes/block-editor.php)
64-
- `block_editor_rest_api_preload_paths` — $preload_paths: `string[])[]` (wp-includes/block-editor.php)
63+
- `block_editor_rest_api_preload_paths` — $preload_paths: `(string|string[])[]` (wp-includes/block-editor.php)
6564

hooks/filters.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3070,7 +3070,7 @@
30703070
"name": "param",
30713071
"content": "Array of paths to preload.",
30723072
"types": [
3073-
"string[]"
3073+
"(string|string[])[]"
30743074
],
30753075
"variable": "$preload_paths"
30763076
},
@@ -55191,9 +55191,7 @@
5519155191
"name": "param",
5519255192
"content": "Arguments.",
5519355193
"types": [
55194-
"array<string,string",
55195-
"int",
55196-
"bool>"
55194+
"array<string,string|int|bool>"
5519755195
],
5519855196
"variable": "$args"
5519955197
}
@@ -57026,7 +57024,7 @@
5702657024
"name": "param",
5702757025
"content": "Key-value pairs representing <code>&lt;script&gt;</code> tag attributes. Only the attribute name is added to the <code>&lt;script&gt;</code> tag for entries with a boolean value, and that are true.",
5702857026
"types": [
57029-
"array"
57027+
"array<string,string|bool>"
5703057028
],
5703157029
"variable": "$attributes"
5703257030
},

0 commit comments

Comments
 (0)