Update IdentityInterface.php

fixes #3028