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 1c2651f commit 79dbc1eCopy full SHA for 79dbc1e
Validator/Constraints/UniqueEntity.php
@@ -32,11 +32,11 @@ class UniqueEntity extends Constraint
32
33
public $message = 'This value is already used.';
34
public $service = 'doctrine.orm.validator.unique';
35
- public $em = null;
36
- public $entityClass = null;
+ public $em;
+ public $entityClass;
37
public $repositoryMethod = 'findBy';
38
public $fields = [];
39
- public $errorPath = null;
+ public $errorPath;
40
public $ignoreNull = true;
41
42
/**
0 commit comments