Skip to content

Commit

Permalink
Merge pull request #2741 from marcleonhard/patch-1
Browse files Browse the repository at this point in the history
Update using-policies.md
drbyte authored Oct 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 43bc084 + d97529b commit 9e3a4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/best-practices/using-policies.md
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ class PostPolicy

public function create(User $user): bool
{
return ($user->can('create posts'));
return $user->can('create posts');
}

public function update(User $user, Post $post): bool

0 comments on commit 9e3a4bb

Please sign in to comment.