mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add missing return statement
This commit is contained in:
parent
74fbd6feac
commit
50b590ae34
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user