Bug report
When ArrayAccess::offsetSet() throws an exception PHPStan thinks
try {
$store[] = $carrier;
} catch ( \Exception $e ) {
the catch block is never executed.
Code snippet that reproduces the problem
https://phpstan.org/r/a409c5cc-ba0f-4383-8bd0-c2a5ba791f86
Expected output
No error.
Please advise.
Thank you.