Code development platform for open source projects from the European Union institutions

Commit cb1616de authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

feat: add `__toString` method to `EuLoginUser`.

(cherry picked from commit f14d7c78)
parent 292eb2c2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -25,6 +25,11 @@ final class EuLoginUser implements EuLoginUserInterface
        $this->user = $user;
    }

    public function __toString(): string
    {
        return $this->user->__toString();
    }

    public function eraseCredentials(): void
    {
        // null