@@ -28,9 +28,9 @@ discard block |
||
28 | 28 | ]); |
29 | 29 | $metadata->addPropertyConstraints('nroDocRel', [ |
30 | 30 | new Assert\NotBlank(), |
31 | - new Assert\Length([ 'max' => 30]), |
|
31 | + new Assert\Length(['max' => 30]), |
|
32 | 32 | ]); |
33 | - $metadata->addPropertyConstraints('total',[ |
|
33 | + $metadata->addPropertyConstraints('total', [ |
|
34 | 34 | new Assert\NotBlank(), |
35 | 35 | new Assert\Type(['type' => 'numeric']), |
36 | 36 | ]); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | new Assert\NotBlank(), |
39 | 39 | new Assert\Length(['max' => 1]), |
40 | 40 | ]); |
41 | - $metadata->addPropertyConstraints('nroDocEmisor',[ |
|
41 | + $metadata->addPropertyConstraints('nroDocEmisor', [ |
|
42 | 42 | new Assert\NotBlank(), |
43 | 43 | new Assert\Length(['max' => 15]), |
44 | 44 | ]); |