What he was saying was, actually the full quotation is, "If you press me to say what is the method of science, I would have to say: anything goes."
Lo que decía, lo que toda la cita dice: "Si me presionas para que diga cuál es el método de la ciencia, diría que todo lo vale".