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 3320f06
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 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 bool|array|string $ignoreNull The combination of fields that ignore null values
* @param string[]|string $fields The combination of fields that must contain unique values or a set of options
* @param bool|string[]|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 3320f06

Please sign in to comment.