Skip to content

Commit 38802a9

Browse files
committed
IIdentity: added return typehint (BC break)
1 parent f96f829 commit 38802a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Security/IIdentity.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ interface IIdentity
1818
{
1919
/**
2020
* Returns the ID of user.
21-
* @return mixed
2221
*/
23-
function getId();
22+
function getId(): string|int;
2423

2524
/**
2625
* Returns a list of roles that the user is a member of.

0 commit comments

Comments
 (0)