diff --git a/src/Identity.php b/src/Identity.php
index 999307ef..35f60e44 100644
--- a/src/Identity.php
+++ b/src/Identity.php
@@ -49,9 +49,9 @@ public function __construct(AuthorizationServiceInterface $service, AuthenIdenti
     /**
      * Get the primary key/id field for the identity.
      *
-     * @return string|int|null|array
+     * @return array|string|int|null
      */
-    public function getIdentifier(): string|int|null|array
+    public function getIdentifier(): string|int|array|null
     {
         return $this->identity->getIdentifier();
     }