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

Function expects (callable)|null, callable given #2267

Closed
damnedest opened this issue Jul 4, 2019 · 2 comments
Closed

Function expects (callable)|null, callable given #2267

damnedest opened this issue Jul 4, 2019 · 2 comments

Comments

@damnedest
Copy link

Bug report

Cannot pass callable to set_error_handler or set_exception_handler

Code snippet that reproduces the problem

https://phpstan.org/r/435ec05f-738f-4c86-9364-7865643abc65

Expected output

No errors

@JanTvrdik
Copy link
Contributor

@ondrejmirtes
Copy link
Member

Fixed: 08e0288

@lock lock bot locked as resolved and limited conversation to collaborators Dec 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants