From cbf2b52f295263fb7eaccd6646b212ce7283d3b8 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 23 Jul 2018 01:08:04 +0200 Subject: [PATCH] Fix wrong example of variable name for library's instance in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index db2b8ed..7811f67 100644 --- a/README.md +++ b/README.md @@ -716,19 +716,19 @@ function canEditArticle(\Delight\Auth\Auth $auth) { // ... -if (canEditArticle($app->auth())) { +if (canEditArticle($auth)) { // the user can edit articles here } // ... -if (canEditArticle($app->auth())) { +if (canEditArticle($auth)) { // ... and here } // ... -if (canEditArticle($app->auth())) { +if (canEditArticle($auth)) { // ... and here } ```