Skip to content

Commit 72418c7

Browse files
author
Grzegorz Koziński
committed
remove wrong target definition from constraints
1 parent 0c00fd4 commit 72418c7

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed

src/Kiczort/PolishValidatorBundle/Validator/Constraints/Nip.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ class Nip extends Constraint
2222
{
2323
public $message = 'This is not a valid NIP number.';
2424

25-
/**
26-
* {@inheritdoc}
27-
*/
28-
public function getTargets()
29-
{
30-
return self::CLASS_CONSTRAINT;
31-
}
32-
3325
/**
3426
* {@inheritdoc}
3527
*/

src/Kiczort/PolishValidatorBundle/Validator/Constraints/Pesel.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ class Pesel extends Constraint
2323
public $message = 'This is not a valid PESEL number.';
2424
public $strict;
2525

26-
/**
27-
* {@inheritdoc}
28-
*/
29-
public function getTargets()
30-
{
31-
return self::CLASS_CONSTRAINT;
32-
}
33-
3426
/**
3527
* {@inheritdoc}
3628
*/

src/Kiczort/PolishValidatorBundle/Validator/Constraints/Regon.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ class Regon extends Constraint
2222
{
2323
public $message = 'This is not a valid REGON number.';
2424

25-
/**
26-
* {@inheritdoc}
27-
*/
28-
public function getTargets()
29-
{
30-
return self::CLASS_CONSTRAINT;
31-
}
32-
3325
/**
3426
* {@inheritdoc}
3527
*/

0 commit comments

Comments
 (0)