BackwardCompatibilityCheck icon indicating copy to clipboard operation
BackwardCompatibilityCheck copied to clipboard

Promoting docblock type of a property to actual type

Open weirdan opened this issue 2 years ago • 1 comments

See https://github.com/vimeo/psalm/pull/9517/files

Should this be considered a BC break? If we trust the @internal annotation, why shouldn't we trust @var as well?

weirdan avatar Mar 15 '23 03:03 weirdan

The problem here is that docblock type information is not really compared to native type information at all 😬

Ocramius avatar Mar 15 '23 06:03 Ocramius