The RPC signrawtransactionwithkey replaced signrawtransaction in v18 and above. It still uses the same Type name of SignRawTransaction which causes an issue with verify and when manually searching the code for the type or model.
I would suggest renaming it everwhere to SignRawTransactionWithKey, similarly with the test and macro name. And keeping a duplicate of the v17 ones with the current name, it's the only version that has both RPCs
EDIT: I fixed verify and there is no issue with this RPC since it only checks the line in verify vs the types table, but I still prefer the solution above to how it is now.