Skip to content

Commit 1277119

Browse files
committed
fixed wrong type for identity property
Signed-off-by: Pascal Paulis <ppaulis@gmail.com>
1 parent 01d94f3 commit 1277119

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Identity/AuthenticatedIdentity.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
class AuthenticatedIdentity extends Role implements IdentityInterface
1010
{
11-
/** @var string|IdentityInterface */
11+
/** @var mixed */
1212
protected $identity;
1313

14-
/** @param string|IdentityInterface $identity */
14+
/** @param mixed $identity */
1515
public function __construct($identity)
1616
{
1717
$this->identity = $identity;
@@ -23,7 +23,7 @@ public function getRoleId()
2323
return $this->name;
2424
}
2525

26-
/** @return string|IdentityInterface */
26+
/** @return mixed */
2727
public function getAuthenticationIdentity()
2828
{
2929
return $this->identity;

0 commit comments

Comments
 (0)