Bug report
If we set the existing list key, the array still be a list, but phpstan thinks that it is not true.
if (isset($this->list[$offset])) {
$this->list[$offset] = 123;
// `$this->list` still a list
}
Code snippet that reproduces the problem
https://phpstan.org/r/32e2baf1-42ba-4494-9500-13459f0d33b7
Expected output
No error.
Did PHPStan help you today? Did it make you happy in any way?
Yep 🤗