Fix some php doc errors

This patch was made by Scrutinizer:
https://scrutinizer-ci.com/g/DeuxHuitHuit/entry_relationship_field/inspections/029b11ec-d094-4f40-a559-7c16a34e8d71/patches