Skip to content

Conversation

@IanDelMar
Copy link
Contributor

@IanDelMar IanDelMar commented Oct 28, 2023

  • Fixes incorrect handling of wp_die's return type when 'exit' is not set (Cherry pick #121 onto 6.4 #122 (comment)).
  • Adds check for integer argument.
  • Uses PhpParser\ConstExprEvaluator to check the 3rd parameter which increases accuracy and readability.

@szepeviktor
Copy link
Member

Thank you!
Now it is less complex.

@szepeviktor szepeviktor merged commit 07aa8ce into php-stubs:6.4 Oct 28, 2023
@IanDelMar IanDelMar deleted the die-wp-die branch October 28, 2023 19:27
IanDelMar added a commit to IanDelMar/wordpress-stubs that referenced this pull request Nov 8, 2023
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