Add an inspection to check the type of the returned expressions

Done :+1: