1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-05 15:47:25 +02:00

Fix wrong example of variable name for library's instance in README

This commit is contained in:
Marco
2018-07-23 01:08:04 +02:00
parent c685f22937
commit cbf2b52f29

View File

@@ -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
}
```