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

Allow returning null result #3087

Commits on Apr 9, 2018

  1. Allow returning null result

    This can and does happen with Symfony's phpunit-bridge listener. Apart
    for that, this property is not guaranteed to be not null (there is a
    setter and no constructor requirement), so the return type hint should
    reflect that.
    See symfony/symfony#26861
    greg0ire committed Apr 9, 2018
    Copy the full SHA
    a3c8c5f View commit details
    Browse the repository at this point in the history