mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix deprecation error on constraint
This commit is contained in:
parent
e6a1dcd7a4
commit
8c4ddd8342
@ -7,7 +7,8 @@ Chill\MainBundle\Entity\PermissionsGroup:
|
||||
roleScopes:
|
||||
- Valid: ~
|
||||
constraints:
|
||||
- Callback: [isRoleScopePresentOnce]
|
||||
- Callback:
|
||||
callback: isRoleScopePresentOnce
|
||||
|
||||
Chill\MainBundle\Entity\User:
|
||||
properties:
|
||||
@ -16,7 +17,8 @@ Chill\MainBundle\Entity\User:
|
||||
max: 70
|
||||
min: 3
|
||||
constraints:
|
||||
- Callback: [isGroupCenterPresentOnce]
|
||||
- Callback:
|
||||
callback: isGroupCenterPresentOnce
|
||||
|
||||
Chill\MainBundle\Entity\RoleScope:
|
||||
constraints:
|
||||
|
Loading…
x
Reference in New Issue
Block a user