correctly handle byUser

This commit is contained in:
jannisp 2021-04-26 17:05:38 +02:00
parent 857e98139c
commit 8ab7341dc6
2 changed files with 15 additions and 5 deletions

View file

@ -188,4 +188,9 @@ class User implements UserInterface
return $this;
}
public function __toString(): string
{
return (string) $this->getUsername();
}
}