Added type doc for createFieldName

Originally from
https://scrutinizer-ci.com/g/DeuxHuitHuit/entry_relationship_field/inspections/d931a50d-44ff-4de1-ac20-b9e17c6b02ca/patches
but I added all parameters