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

Add cond. return type and param type for absint() #225

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

IanDelMar
Copy link
Contributor

@IanDelMar IanDelMar commented Sep 17, 2024

For constant values other than non-negative integers and arrays, a dynamic return type extension is needed. I.e. for constant positive and negative floats, as well as for constant positive and negative numeric strings.

@szepeviktor
Copy link
Member

image

@szepeviktor szepeviktor merged commit 01177ee into php-stubs:master Sep 17, 2024
5 checks passed
@IanDelMar IanDelMar deleted the absint branch September 17, 2024 18:49
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