You're absolutely correct, Diffraction is a wave phenomenon and can be explained perfectly well without invoking the particulate nature of light.
I think I understand the OP's question and I think it involves a particular derivation of the minima in a single slit diffraction pattern that involves calculating the path difference between the centre of the slit and one edge.
This particular derivation works because of symmetry. If you divide the slit into a number of "slitlets" (essentially invoking the Huygen's principle) and look at the phase contribution of each "slitlet", you can see that, in the case of a minimum, the phase contributions from the "slitlets" can be canceled in a pairwise fashion.
I have a feeling something was lost in translation between you and your professor. No professor would use the phrase "rays get diffracted", because ray optics implicitly ignores wave-like behaviour like diffraction.
Claude.