Skip to content

[FrameworkBundle] Execute the PhpDocExtractor earlier #21367

Closed
@GuilhemN

Description

@GuilhemN
Q A
Bug report? yes, kind of
Feature request? no
BC Break report? no
RFC? no
Symfony version 2.8 -> master

I wonder if this is logical to execute the PhpDocExtractor after the ReflectionExtractor: when you use phpdocs it's because they are more precise than php type hints.
This causes an issue in NelmioApiDocBundle, for example you can't use int[] with a setter as the type mixed[] will be returned instead of int[].

Would you accept bumping its priority to -999?

cc @dunglas

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions