You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## What does this implement/fix? Explain your changes.
10
+
11
+
This PR:
12
+
13
+
- Inlines all (backwards-compatible) PHPDoc types into their native PHP types
14
+
- Replaces the use of \`mixed\` with the specific array shape (_where possible_)
15
+
- Adds type-narrowing to \`WPGraphQL::get_allowed_post_types()\` and \`::get_allowed_taxonomies()\`, so the correct traversable type of the array is hinted correctly.
16
+
17
+
References to these functions have been cleaned up accordingly (usually just by removing a \`/**@var {...} */\` typehint.
0 commit comments