We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c31917a + 77be1d5 commit 6fa00b6Copy full SHA for 6fa00b6
1 file changed
src/Mailjet/Normalizer/ContactNormalizer.php
@@ -37,19 +37,15 @@ public static function shouldBeNormalized(array $data): bool
37
private static function getValidationRule(): Assert\Collection
38
{
39
return new Assert\Collection(
40
- [
41
- 'fields' => [
+ fields: [
42
'filters' => new Assert\Collection(
43
44
45
- 'countonly' => new Assert\Length(['min' => 1]),
+ 'countonly' => new Assert\Length(min: 1),
46
],
47
- 'allowExtraFields' => true,
48
- ]
+ allowExtraFields: true
49
),
50
51
52
53
);
54
}
55
0 commit comments