https://psalm.dev/r/8da86fba89
I researched a little and found that types have different order in $input_class_storage->template_extended_params, but TemplateStandinTypeReplacer::getMappedGenericTypeParams on line 1209 implies that template param goes first.
I want to work on this issue. What is the best way to fix that?