added type to case on Task
Merge branch 'APOLLO-3179' of https://github.com/ministryofjustice/opg-core-public-domain-model into APOLLO-3179