@@ -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(), |
@@ -42,19 +42,19 @@ discard block |
||
42 | 42 | new Assert\NotBlank(), |
43 | 43 | new Assert\Length(['max' => 3]), |
44 | 44 | ]); |
45 | - $metadata->addPropertyConstraints('mtoOperGravadas',[ |
|
45 | + $metadata->addPropertyConstraints('mtoOperGravadas', [ |
|
46 | 46 | new Assert\NotBlank(), |
47 | 47 | new Assert\Type(['type' => 'numeric']), |
48 | 48 | ]); |
49 | - $metadata->addPropertyConstraints('mtoOperInafectas',[ |
|
49 | + $metadata->addPropertyConstraints('mtoOperInafectas', [ |
|
50 | 50 | new Assert\NotBlank(), |
51 | 51 | new Assert\Type(['type' => 'numeric']), |
52 | 52 | ]); |
53 | - $metadata->addPropertyConstraints('mtoOperExoneradas',[ |
|
53 | + $metadata->addPropertyConstraints('mtoOperExoneradas', [ |
|
54 | 54 | new Assert\NotBlank(), |
55 | 55 | new Assert\Type(['type' => 'numeric']), |
56 | 56 | ]); |
57 | - $metadata->addPropertyConstraints('mtoImpVenta',[ |
|
57 | + $metadata->addPropertyConstraints('mtoImpVenta', [ |
|
58 | 58 | new Assert\NotBlank(), |
59 | 59 | new Assert\Type(['type' => 'numeric']), |
60 | 60 | ]); |
@@ -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(), |
@@ -42,19 +42,19 @@ discard block |
||
42 | 42 | new Assert\NotBlank(), |
43 | 43 | new Assert\Length(['max' => 3]), |
44 | 44 | ]); |
45 | - $metadata->addPropertyConstraints('mtoOperGravadas',[ |
|
45 | + $metadata->addPropertyConstraints('mtoOperGravadas', [ |
|
46 | 46 | new Assert\NotBlank(), |
47 | 47 | new Assert\Type(['type' => 'numeric']), |
48 | 48 | ]); |
49 | - $metadata->addPropertyConstraints('mtoOperInafectas',[ |
|
49 | + $metadata->addPropertyConstraints('mtoOperInafectas', [ |
|
50 | 50 | new Assert\NotBlank(), |
51 | 51 | new Assert\Type(['type' => 'numeric']), |
52 | 52 | ]); |
53 | - $metadata->addPropertyConstraints('mtoOperExoneradas',[ |
|
53 | + $metadata->addPropertyConstraints('mtoOperExoneradas', [ |
|
54 | 54 | new Assert\NotBlank(), |
55 | 55 | new Assert\Type(['type' => 'numeric']), |
56 | 56 | ]); |
57 | - $metadata->addPropertyConstraints('mtoImpVenta',[ |
|
57 | + $metadata->addPropertyConstraints('mtoImpVenta', [ |
|
58 | 58 | new Assert\NotBlank(), |
59 | 59 | new Assert\Type(['type' => 'numeric']), |
60 | 60 | ]); |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | ]); |
76 | 76 | $metadata->addPropertyConstraints('desMotivo', [ |
77 | 77 | new Assert\NotBlank(), |
78 | - new Assert\Length([ 'max' => 250]), |
|
78 | + new Assert\Length(['max' => 250]), |
|
79 | 79 | ]); |
80 | 80 | $metadata->addPropertyConstraints('tipDocAfectado', [ |
81 | 81 | new Assert\NotBlank(), |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | ]); |
87 | 87 | $metadata->addPropertyConstraints('numDocfectado', [ |
88 | 88 | new Assert\NotBlank(), |
89 | - new Assert\Length([ 'max' => 13]), |
|
89 | + new Assert\Length(['max' => 13]), |
|
90 | 90 | ]); |
91 | 91 | } |
92 | 92 | } |
93 | 93 | \ No newline at end of file |