Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete wp_clear_scheduled_hook.php #129

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

IanDelMar
Copy link
Contributor

wp_clear_scheduled_hook.php was added via #127. I missed the fact that the tests are already included in wp_error_parameter.php.

assertType('int<0, max>|false', wp_unschedule_hook('hook'));
assertType('int<0, max>|false', wp_unschedule_hook('hook', false));
assertType('int<0, max>|WP_Error', wp_unschedule_hook('hook', true));
assertType('int<0, max>|WP_Error|false', wp_unschedule_hook('hook', $_GET['wp_error']));

@szepeviktor szepeviktor merged commit bceef84 into php-stubs:master Nov 5, 2023
IanDelMar added a commit to IanDelMar/wordpress-stubs that referenced this pull request Nov 5, 2023
@IanDelMar IanDelMar deleted the wp_clear_scheduled_hook branch November 5, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants