From fe0ed9035ff66a4c6f2b11b70210d210f67e37e6 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 4 Dec 2024 10:54:55 +0100 Subject: [PATCH] Auth/User: fix typo --- src/Auth/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/User.php b/src/Auth/User.php index a7d66da..4bf44c9 100644 --- a/src/Auth/User.php +++ b/src/Auth/User.php @@ -172,7 +172,7 @@ class User implements \ArrayAccess { public function __toString() { if (isset($this -> name)) return sprintf('%s (%s)', $this -> name, $this -> username); - return $this -> namename; + return $this -> username; } /**