fix assertion deprecation (#2068)

This commit is contained in:
Kevin Papst
2020-10-28 16:56:09 +01:00
committed by GitHub
parent 61c0cbc887
commit 82e1d6b917
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class Role
* @ORM\Column(name="name", type="string", length=50, nullable=false)
* @Assert\NotNull()
* @Assert\NotBlank()
* @Assert\Length(allowEmptyString=false, min=5, max=50)
* @Assert\Length(min=5, max=50, allowEmptyString=false)
*/
private $name;