User->name may be null
User->name may be null

When a new User object is created in Make an LPA, it has a
null name (which the user then fills in and saves). However,
PHP 8.1 doesn't like the fact that getName() can return a null,
as this isn't specified in the method signature or docblock.

ministryofjustice/opg-lpa-datamodels,ministryofjustice/opg-lpa-datamodels