Completed
Push — master ( 544fde...527d7b )
by Giancarlos
02:31
created
src/Greenter/Xml/Validator/NoteValidator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.