Commit 66c80859 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

CAst retour de User::__toString en string pour testabilité.

parent db20707b
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment