I know this is just moved code, but the ampersand (&) is still unneeded here. We should add sniff for that. A type hint on anything but an array combined with an ampersand is always wrong.