It should do something other than returning nothing, e.g., displaying a message stating that voting is not open/has closed.