“When they heard this, they were baptized in the name of the Lord Jesus.”
King James Version (KJV)
19:5 And hearing this, they were baptized - By some other. Paul only laid his hands upon them. They were baptized - They were baptized twice; but not with the same baptism. John did not administer that baptism which Christ afterward commanded, that is, in the name of the Father, Son, and Holy Ghost.
Ac 19:5 When they heard [this]. Paul's explanation of the difference between Christ's and John's baptism, to which we have only an allusion. The example of these men shows that if a baptism is imperfect, from an ignorance of Christ's will, it is not wrong to correct the defect by a more perfect obedience.