I've had this happen a couple of times now where the return type disappears and moves, with some rearranging, to the Parameters:

In this case, the return type was Array(Of String), and no parameters.
No idea what causes it. The code still runs as if things were in the right place. Presumably it is, on disk.