Commit 24d60b41 authored by Mat's avatar Mat

corrige le message de l'assert

parent 25881e70
...@@ -32,8 +32,8 @@ class Owner ...@@ -32,8 +32,8 @@ class Owner
* @Assert\Length( * @Assert\Length(
* min = 3, * min = 3,
* max = 50, * max = 50,
* minMessage = "Your first name must be at least {{ limit }} characters long", * minMessage = "Your lastname must be at least {{ limit }} characters long",
* maxMessage = "Your first name cannot be longer than {{ limit }} characters" * maxMessage = "Your lastname cannot be longer than {{ limit }} characters"
* ) * )
*/ */
private $lastname; private $lastname;
...@@ -46,8 +46,8 @@ class Owner ...@@ -46,8 +46,8 @@ class Owner
* @Assert\Length( * @Assert\Length(
* min = 3, * min = 3,
* max = 50, * max = 50,
* minMessage = "Your first name must be at least {{ limit }} characters long", * minMessage = "Your firstname must be at least {{ limit }} characters long",
* maxMessage = "Your first name cannot be longer than {{ limit }} characters" * maxMessage = "Your firstname cannot be longer than {{ limit }} characters"
* ) * )
*/ */
private $firstname; private $firstname;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment