Skip to content

Commit

Permalink
Annotate phone validation constraint class with "@annotation".
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Nikolaev committed Oct 22, 2019
1 parent da94730 commit 88670b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@
- Load collections in custom entity loader.

- Enable strict type in custom object functionality classes.

7.1.3: Annotate phone validation constraint class with "@Annotation".
2 changes: 2 additions & 0 deletions Validator/Constraints/Phone.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* Phone validation constraint
*
* @Annotation
*/
class Phone extends Regex
{
Expand Down

0 comments on commit 88670b8

Please sign in to comment.