In Landau & Lifshitz's QM book, p86, a derivation of the eigenvalues of the angular momentum operator is given by taking its expression in polar form in one component (say $z$): $$-i\frac{\partial{\psi}}{\partial\phi}=l_z\psi,$$ solving for $\psi$ to get $$\psi = f(r,\theta)e^{il_z\phi},$$ and then making the argument
"If the function $\psi$ is to be single valued, it must be periodic in $\phi$ with period $2\pi$. Hence we find $l_z=m$, where $m=0,+-1,+-2,...$ Thus the eigenvalues $l_z$ are the positive and negative integers including 0."
I don't understand the argument in quotations. In complex analysis to make a complex exponential single valued we choose a branch, which would translate here to imposing the condition $0\leq l_z\phi \leq 2\pi$. I don't see how this translates into forcing $l_z$ to be an integer.