Doctrine 1

Cannot use named parameters in a 'limit(':max') clause