diff --git a/src/IdentityInterface.php b/src/IdentityInterface.php index 043ca01f..2aa3af6a 100644 --- a/src/IdentityInterface.php +++ b/src/IdentityInterface.php @@ -26,7 +26,7 @@ interface IdentityInterface extends ArrayAccess /** * Get the primary key/id field for the identity. * - * @return string|int|null + * @return string|int|array|null */ public function getIdentifier(); diff --git a/src/View/Helper/IdentityHelper.php b/src/View/Helper/IdentityHelper.php index eea4ab8a..573af692 100644 --- a/src/View/Helper/IdentityHelper.php +++ b/src/View/Helper/IdentityHelper.php @@ -71,7 +71,7 @@ public function initialize(array $config): void /** * Gets the id of the current logged in identity * - * @return int|null|string + * @return string|int|array|null */ public function getId() {