Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Aug 6, 2023
1 parent bee93a3 commit 9a6a41f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Validator/Constraints/Unique.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@
class Unique extends UniqueEntity
{
/**
* @param array|string $fields The combination of fields that must contain unique values or a set of options
* @param string[]|string $fields The combination of fields that must contain unique values or a set of options
* @param bool|array|string $ignoreNull The combination of fields that ignore null values
* @param mixed $payload
*/
public function __construct(
$fields,
string $message = null,
?string $message = null,
string $service = 'doctrine_odm.mongodb.unique',
string $em = null,
string $entityClass = null,
string $repositoryMethod = null,
string $errorPath = null,
bool|string|array $ignoreNull = null,
array $groups = null,
?string $em = null,
?string $entityClass = null,
?string $repositoryMethod = null,
?string $errorPath = null,
$ignoreNull = null,
?array $groups = null,
$payload = null,
array $options = []
) {
Expand All @@ -44,7 +45,7 @@ public function __construct(
$ignoreNull,
$groups,
$payload,
$options
$options,
);
}
}

0 comments on commit 9a6a41f

Please sign in to comment.