Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
66c80859
Commit
66c80859
authored
Jan 10, 2014
by
Bertrand Gauthier
Browse files
CAst retour de User::__toString en string pour testabilité.
parent
db20707b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Entity/Db/AbstractUser.php
View file @
66c80859
...
...
@@ -230,6 +230,6 @@ abstract class AbstractUser implements UserInterface, ProviderInterface
*/
public
function
__toString
()
{
return
$this
->
getDisplayName
();
return
(
string
)
$this
->
getDisplayName
();
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment