The motion of the photon is affected by the motion of its source, Electron, and must include all types of motion of its source. So, the photon has a three-dimensional motion, including a transition movement and a rotary motion. And it traverses in a helical trajectory. By using this definition, we have proved wave-particle duality at the same time and introduce a new equation for the photon energy.
Using this energy equation, we conclude that this equation is always valid, so the photon must have rotational motion.