I don't think bad references are allowed any more. I wonder how many businesses/companies adhere to those rules.
I suspect that McDonald's are used to employees looking for other work. I wouldn't be surprised if they don't bring it up. That doesn't mean that you shouldn't say anything to your manager/boss, just that they may not approach you about it.
You've had good advice, be honest with your boss/manager.