Skip to content

Commit

Permalink
Fix example in README after change of argument var name
Browse files Browse the repository at this point in the history
  • Loading branch information
mfn committed Apr 3, 2021
1 parent e30a0c1 commit 777ba94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ class MePrivacy extends Privacy
{
public function validate(array $queryArgs, $queryContext = null): bool
{
return $args['id'] == Auth::id();
return $queryArgs['id'] == Auth::id();
}
}
```
Expand Down

0 comments on commit 777ba94

Please sign in to comment.