Correcting example Doctrine association code