Is the passage of dialogue written correctly or incorrectly?

"I think I can fix it," said the repairman.

"How long will it take to repair?" asked my mother.

"Only a few days," the repairman replied.


A.
correctly

B.
incorrectly