fix deprecation error on constraint

This commit is contained in:
nobohan 2018-04-23 16:56:19 +02:00
parent e6a1dcd7a4
commit 8c4ddd8342

View File

@ -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: