diff --git a/src/Security/PostVoter.php b/src/Security/PostVoter.php index b799651b5..540acbde7 100644 --- a/src/Security/PostVoter.php +++ b/src/Security/PostVoter.php @@ -52,7 +52,7 @@ protected function voteOnAttribute(string $attribute, $post, TokenInterface $tok return false; } - // the logic of this voter is pretty simple: if the logged user is the + // the logic of this voter is pretty simple: if the logged-in user is the // author of the given blog post, grant permission; otherwise, deny it. // (the supports() method guarantees that $post is a Post object) return $user === $post->getAuthor();