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

[PropertyInfo] added handling of nullable types in PhpDoc #27618

Merged
merged 1 commit into from Jul 2, 2018
Merged

[PropertyInfo] added handling of nullable types in PhpDoc #27618

merged 1 commit into from Jul 2, 2018

Commits on Jul 1, 2018

  1. [PropertyInfo] added handling of nullable types in PhpDoc

    While not specified in PSR-5, PhpDocumentor does support parsing
    nullable types in the PHP 7.1 syntax (i.e. ?string), and returns those
    in a Nullable wrapper. We currently don't handle this and neither throw
    an error, which results in all kind of weird breakage when this syntax
    is used (e.g. "class string|int not found").
    
    Correctly parse this syntax into a nullable type.
    oxan committed Jul 1, 2018
    Copy the full SHA
    38b369b View commit details
    Browse the repository at this point in the history