That sounds very wrong.
Not a physicist, but light does not interact with magnets, or you need to get into the superconducting strength levels before it does.
Magnet there is probably used as an isolator. The laser can only go out,but not come back.( yes, there will be laser coming back from reflection, which also interrupt the operation of the source laser.
https://en.wikipedia.org/wiki/Optical_isolator
https://en.wikipedia.org/wiki/Faraday_rotator