vimeo/psalm

InvalidArrayOffset ignores @psalm-ignore-nullable-return

Open

#6.442 geöffnet am 6. Sept. 2021

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (668 Forks)batch import
Help wantedbug

Repository-Metriken

Stars
 (5.369 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 12h) (5 gemergte PRs in 30 T)

Beschreibung

Hello, guys!

I think InvalidArrayOffset must not be fired for the case of the null array key value if the @psalm-ignore-nullable-return annotation is added to a function.

Code example https://psalm.dev/r/dffed8096a

Contributor Guide