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: roleScopes:
- Valid: ~ - Valid: ~
constraints: constraints:
- Callback: [isRoleScopePresentOnce] - Callback:
callback: isRoleScopePresentOnce
Chill\MainBundle\Entity\User: Chill\MainBundle\Entity\User:
properties: properties:
@ -16,7 +17,8 @@ Chill\MainBundle\Entity\User:
max: 70 max: 70
min: 3 min: 3
constraints: constraints:
- Callback: [isGroupCenterPresentOnce] - Callback:
callback: isGroupCenterPresentOnce
Chill\MainBundle\Entity\RoleScope: Chill\MainBundle\Entity\RoleScope:
constraints: constraints: