vimeo/psalm

InvalidArrayOffset ignores @psalm-ignore-nullable-return

Open

#6,442 opened on 2021年9月6日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)PHP (668 forks)batch import
Help wantedbug

Repository metrics

Stars
 (5,369 stars)
PR merge metrics
 (平均マージ 3d 12h) (30d で 5 merged PRs)

説明

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

コントリビューターガイド