Skip to content

Commit

Permalink
Ref #320: add return type to prevent deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann-BUTSCHER-EIRL committed Jun 10, 2023
1 parent f570c03 commit 70219f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function getUsername()
/**
* Get the property used to identify an user.
*/
public function getUserIdentifier()
public function getUserIdentifier(): string
{
return $this->username;
}
Expand Down

0 comments on commit 70219f1

Please sign in to comment.