Skip to content

Commit

Permalink
Generate stubs for WPGraphQL v1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 5, 2024
1 parent 4576d7a commit e94188a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-sodium": "*",
"wpackagist-plugin/wp-graphql": "1.21.0"
"wpackagist-plugin/wp-graphql": "1.22.0"
},
"config": {
"allow-plugins": {
Expand Down
14 changes: 12 additions & 2 deletions wp-graphql-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ public function initialize_settings_page()
/**
* Initialize the styles and scripts used on the settings admin page
*
* @param string $hook_suffix The current admin page.
* @param ?string $hook_suffix The current admin page.
*/
public function initialize_settings_page_scripts(string $hook_suffix) : void
public function initialize_settings_page_scripts(?string $hook_suffix) : void
{
}
/**
Expand Down Expand Up @@ -4117,6 +4117,14 @@ protected function is_valid_node_type(string $node_type) : bool
protected function resolve_home_page() : ?\GraphQL\Deferred
{
}
/**
* Checks if the URI is a comment URI and, if so, returns the comment ID.
*
* @param string $uri The URI to check.
*/
protected function maybe_parse_comment_uri(string $uri) : ?int
{
}
}
/**
* Class PostObjectMutation
Expand Down Expand Up @@ -4553,9 +4561,11 @@ protected function init()
* @property string $dateGmt
* @property string $id
* @property string $karma
* @property string $link
* @property string $parentId
* @property string $status
* @property string $type
* @property string $uri
*
* @package WPGraphQL\Model
*/
Expand Down

0 comments on commit e94188a

Please sign in to comment.