diff --git a/src/Security/Voter/AttachmentVoter.php b/src/Security/Voter/AttachmentVoter.php index dbeffea0..987787e0 100644 --- a/src/Security/Voter/AttachmentVoter.php +++ b/src/Security/Voter/AttachmentVoter.php @@ -117,6 +117,8 @@ class AttachmentVoter extends ExtendedVoter return $this->resolver->inherit($user, $param, $this->mapOperation($attribute)) ?? false; } + + return false; } private function mapOperation(string $attribute): string