Skip to content

Commit 3eca1a5

Browse files
committed
fix: add __toString method
1 parent d1a24b7 commit 3eca1a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Security/Core/User/EuLoginUser.php

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ public function __construct(CasUserInterface $user)
2525
$this->user = $user;
2626
}
2727

28+
public function __toString(): string
29+
{
30+
return $this->user->__toString();
31+
}
32+
2833
public function eraseCredentials(): void
2934
{
3035
// null

0 commit comments

Comments
 (0)