Skip to content

Commit ca0684e

Browse files
committed
Fixing old annotation @Validation references
1 parent 93fa759 commit ca0684e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/forms.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,13 @@ number:
282282
class Product
283283
{
284284
/**
285-
* @validation:NotBlank()
285+
* @assert:NotBlank()
286286
*/
287287
public $name;
288288
289289
/**
290-
* @validation:NotBlank()
291-
* @validation:Min(0)
290+
* @assert:NotBlank()
291+
* @assert:Min(0)
292292
*/
293293
protected $price;
294294
}

0 commit comments

Comments
 (0)