Phan fails to warn about @param object $x
when the real type is more specific
#3749
Labels
enhancement
This improves the quality of Phan's analysis of a codebase
Observed: Phan emits no warnings for the following snippet
Expected: Phan (1) warns about the phpdoc comment being more permissive than the real type, and (2) warns about the missing method.
(should ignore nullability and non-object types in the union type for the comparison)
The text was updated successfully, but these errors were encountered: