Skip to content

Commit

Permalink
Merge pull request #46 from ppaulis/bugfix/wrong-type-for-identity
Browse files Browse the repository at this point in the history
fixed wrong type for identity property
  • Loading branch information
Ocramius authored Feb 6, 2023
2 parents 01d94f3 + 1277119 commit 04c7ef1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Identity/AuthenticatedIdentity.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

class AuthenticatedIdentity extends Role implements IdentityInterface
{
/** @var string|IdentityInterface */
/** @var mixed */
protected $identity;

/** @param string|IdentityInterface $identity */
/** @param mixed $identity */
public function __construct($identity)
{
$this->identity = $identity;
Expand All @@ -23,7 +23,7 @@ public function getRoleId()
return $this->name;
}

/** @return string|IdentityInterface */
/** @return mixed */
public function getAuthenticationIdentity()
{
return $this->identity;
Expand Down

0 comments on commit 04c7ef1

Please sign in to comment.