Add missing return statement

This commit is contained in:
2025-05-27 12:43:45 +02:00
parent cdd0372d3e
commit 8bb2e2dc37

View File

@@ -65,6 +65,8 @@ class ReportVoter extends AbstractChillVoter implements ProvideRoleHierarchyInte
if ($subject instanceof Center) { if ($subject instanceof Center) {
return self::LISTS === $attribute; return self::LISTS === $attribute;
} }
return false;
} }
protected function voteOnAttribute($attribute, $subject, TokenInterface $token): bool protected function voteOnAttribute($attribute, $subject, TokenInterface $token): bool