Fixing Doctrine error (expected integer, string given in annotation)