From 50b590ae34d994453ee9005ddaab212845af51e1 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 27 May 2025 12:43:45 +0200 Subject: [PATCH] Add missing return statement --- .../ChillReportBundle/Security/Authorization/ReportVoter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bundle/ChillReportBundle/Security/Authorization/ReportVoter.php b/src/Bundle/ChillReportBundle/Security/Authorization/ReportVoter.php index 2ee15ef02..1645f79dd 100644 --- a/src/Bundle/ChillReportBundle/Security/Authorization/ReportVoter.php +++ b/src/Bundle/ChillReportBundle/Security/Authorization/ReportVoter.php @@ -65,6 +65,8 @@ class ReportVoter extends AbstractChillVoter implements ProvideRoleHierarchyInte if ($subject instanceof Center) { return self::LISTS === $attribute; } + + return false; } protected function voteOnAttribute($attribute, $subject, TokenInterface $token): bool