A man suffered a number of cuts to the back of his head when he was attacked with a coffee cup at Preston Railway Station.