A rat-infested takeaway has closed after being slapped with a zero hygiene rating by health inspectors.