Bug report
PhpStan will incorrectly overwrite the value of the key in the array if it was defined as union.

Code snippet that reproduces the problem
https://phpstan.org/r/b9b6eddd-b448-4642-bc09-8bfc4555712f
Expected output
In the case of a union of multiple different arrays, the context should correctly identify which array I just used.