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

get_debug_type missing documentation of behavior for anonymous classes extending another class or implementing an interface #3702

Closed
patrickkusebauch opened this issue Aug 30, 2024 · 1 comment · Fixed by #3703

Comments

@patrickkusebauch
Copy link
Contributor

From manual page: https://php.net/function.get-debug-type

This omission caused a bug (by me) in PHPStan dynamic return type function implementation: phpstan/phpstan#11562

@patrickkusebauch
Copy link
Contributor Author

According to the commit implementing the function (php/php-src@ef0e447) the extending class or implementing interface should be replace the part before @anonymous.

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 a pull request may close this issue.

1 participant