Bug report
In phpstan/phpstan-src#5696 and phpstan/phpstan-src#5694 we fixed type-functions which lost template types
do we have a similar bug in one of the other Type::*array methods - e.g. Type::shiftArray etc. ?
if so, come up with tests and fixes
Code snippet that reproduces the problem
No response
Expected output
no lost template types after array-type methods have been invoked
Did PHPStan help you today? Did it make you happy in any way?
No response
Bug report
In phpstan/phpstan-src#5696 and phpstan/phpstan-src#5694 we fixed type-functions which lost template types
do we have a similar bug in one of the other
Type::*arraymethods - e.g.Type::shiftArrayetc. ?if so, come up with tests and fixes
Code snippet that reproduces the problem
No response
Expected output
no lost template types after array-type methods have been invoked
Did PHPStan help you today? Did it make you happy in any way?
No response