false-positive: Offset 'success' of array assigned to variable $result is never read.
Author: staabmCreated Sep 18, 2026Updated Sep 18, 2026
Bug report
offset used by passing variable arround
Code snippet that reproduces the problem
https://phpstan.org/r/8599d995-a0b5-4ca2-92b3-4b33f8501854
Expected output
no error
Did PHPStan help you today? Did it make you happy in any way?
No response
Source: phpstan/phpstan