vimeo/psalm

Incorrect type `ReflectionNamedType::getType()`

Open

#6756 aperta il 27 ott 2021

Vedi su GitHub
 (13 commenti) (1 reazione) (0 assegnatari)PHP (668 fork)batch import
bugeasy problemsgood first issueinternal stubs/callmap

Metriche repository

Star
 (5369 star)
Metriche merge PR
 (Merge medio 3g 12h) (5 PR mergiate in 30 g)

Descrizione

https://psalm.dev/r/ab315abcbc

Now psalm show: INFO: Trace - 10:5 - $typeName: class-string

But $typeName can be string self and this is not class-string for psalm (example using: https://github.com/yiisoft/definitions/blob/95015024050684cfa7f8759f88974dd54c982265/src/Infrastructure/DefinitionExtractor.php#L138)

Guida contributor