Bug report
When an array is passed to shuffle() it gets reindexed from 0. PHPStan does not detect this.
Code snippet that reproduces the problem
Expected output
shuffle() should be aware that the array that's passed to it gets reindexed from 0.
Did PHPStan help you today? Did it make you happy in any way?
Always :)