"Oh, right," Danny said, laughing a bit. "I take it back, dreadful doctor," he scolded playfully.
Other options:
no subject
"Oh, right," Danny said, laughing a bit. "I take it back, dreadful doctor," he scolded playfully.