Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3211f67 commit 5d8c710Copy full SHA for 5d8c710
src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php
@@ -13,15 +13,15 @@
13
14
use Symfony\Component\Validator\Constraint;
15
16
-/*
+/**
17
* Constraint for the Unique Entity validator.
18
*
19
* @Annotation
20
* @Target({"CLASS", "ANNOTATION"})
21
22
* @author Benjamin Eberlei <[email protected]>
23
*/
24
-#[Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
+#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
25
class UniqueEntity extends Constraint
26
{
27
public const NOT_UNIQUE_ERROR = '23bd9dbf-6b9b-41cd-a99e-4844bcf3077f';
0 commit comments