Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d8c710

Browse files
committed
Revert incorrect patch
1 parent 3211f67 commit 5d8c710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313

1414
use Symfony\Component\Validator\Constraint;
1515

16-
/*
16+
/**
1717
* Constraint for the Unique Entity validator.
1818
*
1919
* @Annotation
2020
* @Target({"CLASS", "ANNOTATION"})
2121
*
2222
* @author Benjamin Eberlei <[email protected]>
2323
*/
24-
#[Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
24+
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
2525
class UniqueEntity extends Constraint
2626
{
2727
public const NOT_UNIQUE_ERROR = '23bd9dbf-6b9b-41cd-a99e-4844bcf3077f';

0 commit comments

Comments
 (0)