mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-17 06:41:24 +00:00
rector rules: apply rule with level 0
This commit is contained in:
@@ -97,7 +97,7 @@ class PermissionsGroup
|
||||
);
|
||||
$countedIds = array_count_values($roleScopesId);
|
||||
|
||||
foreach ($countedIds as $id => $nb) {
|
||||
foreach ($countedIds as $nb) {
|
||||
if (1 < $nb) {
|
||||
$context->buildViolation('A permission is already present '
|
||||
.'for the same role and scope')
|
||||
|
||||
Reference in New Issue
Block a user