#96407Fix doctype annotations
Description
According to https://docs.phpdoc.org/latest/guide/guides/types.html#union-types it is only allowed to use “string|null” and not “?string”
According to https://docs.phpdoc.org/latest/guide/guides/types.html#union-types it is only allowed to use “string|null” and not “?string”