Did Socrates say it or Heraclitus said it?

Heraclitus

Heraclitus believes that everything is fluid and everything is constantly changing.

His famous saying is: "People can't step into the same river twice, because this river is different from this person."

Socrates therefore called Heraclitus a "wanderer".