Bug report
Looks like combination with trim breaks nullCoalesce.offset check.
Code snippet that reproduces the problem
https://phpstan.org/r/b811c983-bd14-4c9f-b6bb-9e836e3ff0a1
Expected output
No error in the code
Did PHPStan help you today? Did it make you happy in any way?
No response