Skip to content

Commit 7ea69d2

Browse files
committed
IIdentity: added return typehint (BC break)
1 parent 21c3eb4 commit 7ea69d2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Security/IIdentity.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ interface IIdentity
1616
{
1717
/**
1818
* Returns the ID of user.
19-
* @return string|int
2019
*/
21-
function getId();
20+
function getId(): string|int;
2221

2322
/**
2423
* Returns a list of roles that the user is a member of.

0 commit comments

Comments
 (0)