Feature request
when single constant tokens like b are used with ?-quantifier we should infer it as a constant 'b'|'' union type so it can be used to infer constant strings with sorrounding literals
see https://phpstan.org/r/41789fd6-3d78-4a39-b34f-c9d46e08c84c
Did PHPStan help you today? Did it make you happy in any way?
No response
Feature request
when single constant tokens like
bare used with?-quantifier we should infer it as a constant'b'|''union type so it can be used to infer constant strings with sorrounding literalssee https://phpstan.org/r/41789fd6-3d78-4a39-b34f-c9d46e08c84c
Did PHPStan help you today? Did it make you happy in any way?
No response