@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | ]); |
29 | 29 | $metadata->addPropertyConstraints('serie', [ |
30 | 30 | new Assert\NotBlank(), |
31 | - new Assert\Length([ 'max' => 4]), |
|
31 | + new Assert\Length(['max' => 4]), |
|
32 | 32 | ]); |
33 | 33 | $metadata->addPropertyConstraints('correlativo', [ |
34 | 34 | new Assert\NotBlank(), |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | ]); |
68 | 68 | $metadata->addPropertyConstraints('desMotivo', [ |
69 | 69 | new Assert\NotBlank(), |
70 | - new Assert\Length([ 'max' => 250]), |
|
70 | + new Assert\Length(['max' => 250]), |
|
71 | 71 | ]); |
72 | 72 | $metadata->addPropertyConstraints('tipDocAfectado', [ |
73 | 73 | new Assert\NotBlank(), |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | ]); |
79 | 79 | $metadata->addPropertyConstraints('numDocfectado', [ |
80 | 80 | new Assert\NotBlank(), |
81 | - new Assert\Length([ 'max' => 13]), |
|
81 | + new Assert\Length(['max' => 13]), |
|
82 | 82 | ]); |
83 | 83 | } |
84 | 84 | } |
85 | 85 | \ No newline at end of file |