Cat food is fine- but NOT the gravy ones- and NOT fish
Also some dog biscuits go down a treat ( they help prevent gingivitis which is becoming a problem with garden hedgehogs)
Plenty of fresh water is good too.
Of course you'd encourage other cats/vermine- but that's the risk....real hedgehog food are slugs etc!!
If the food is being eaten, and there's no slimey black poo nearby then it's not a hedgehog which is eating it ( they're more than happy to poo in with their food!!

)