Skip to content

Commit 79dbc1e

Browse files
committed
Apply no_null_property_initialization PHP-CS-Fixer rule
1 parent 1c2651f commit 79dbc1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Validator/Constraints/UniqueEntity.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ class UniqueEntity extends Constraint
3232

3333
public $message = 'This value is already used.';
3434
public $service = 'doctrine.orm.validator.unique';
35-
public $em = null;
36-
public $entityClass = null;
35+
public $em;
36+
public $entityClass;
3737
public $repositoryMethod = 'findBy';
3838
public $fields = [];
39-
public $errorPath = null;
39+
public $errorPath;
4040
public $ignoreNull = true;
4141

4242
/**

0 commit comments

Comments
 (0)