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 3c3d502 commit 82763fcCopy full SHA for 82763fc
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 <kontakt@beberlei.de>
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