Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from colinodell/patch-1
Browse files Browse the repository at this point in the history
Add missing @annotation to constraint
  • Loading branch information
Adam committed Oct 25, 2015
2 parents d3c38b2 + 72cfbc9 commit 47f2c19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

use Symfony\Component\Validator\Constraint;

/**
* @Annotation
*/
class Domain extends Constraint {

public $message = '"%domain" is not a valid domain name.';
Expand Down

0 comments on commit 47f2c19

Please sign in to comment.