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

Support intersection types (PHP 8.1+ / Promise v2) #195

Merged
merged 2 commits into from Feb 4, 2022

Commits on Feb 4, 2022

  1. Improve _checkTypehint for PHP8+

    PHP8's reflection API changed to make room for handling of union-types. As one of the consequences `ReflectionParameter::getClass` got marked as deprecated.
    While the bug got already fixed in the meantime, the proposed code clears up the code-path for future features like PHP8.1's intersection-types.
    bzikarsky committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    7be7d9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3580280 View commit details
    Browse the repository at this point in the history