From 1757ad3fd1eb06a014e78672749360b92be7d397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emin=20M=C3=BCh=C9=99mm=C9=99di?= Date: Sun, 28 Jul 2019 17:44:37 +0200 Subject: [PATCH] Fix variable name in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 615ed34..a957525 100644 --- a/README.md +++ b/README.md @@ -537,7 +537,7 @@ If the user is not currently signed in, this returns `null`. #### Display name ```php -$email = $auth->getUsername(); +$username = $auth->getUsername(); ``` Remember that usernames are optional and there is only a username if you supplied it during registration.