Completed
Push — master ( 5dd481...435b7f )
by Joe Nilson
16s queued 14s
created
Model/NCFTipoAnulacion.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -75,21 +75,21 @@
 block discarded – undo
75 75
     public function install(): string
76 76
     {
77 77
         parent::install();
78
-        return "INSERT INTO rd_ncftipoanulacion (codigo, descripcion, estado) VALUES " .
79
-            "('01','Deterioro de Factura Pre-Imprensa',true), " .
80
-             "('02','Errores de Impresión (Factura Pre-Impresa)',true), " .
81
-             "('03','Impresión defectuosa',true), " .
82
-             "('04','Duplicidad de Factura',true), " .
83
-             "('05','Corrección de la Información',true), " .
84
-             "('06','Cambio de Productos',true), " .
85
-             "('07','Devolución de Productos',true), " .
78
+        return "INSERT INTO rd_ncftipoanulacion (codigo, descripcion, estado) VALUES ".
79
+            "('01','Deterioro de Factura Pre-Imprensa',true), ".
80
+             "('02','Errores de Impresión (Factura Pre-Impresa)',true), ".
81
+             "('03','Impresión defectuosa',true), ".
82
+             "('04','Duplicidad de Factura',true), ".
83
+             "('05','Corrección de la Información',true), ".
84
+             "('06','Cambio de Productos',true), ".
85
+             "('07','Devolución de Productos',true), ".
86 86
              "('08','Omisión de Productos',true);";
87 87
     }
88 88
     
89 89
     public function restoreData()
90 90
     {
91 91
         $dataBase = new DataBase();
92
-        $sqlClean = "DELETE FROM " . $this->tableName() . ";";
92
+        $sqlClean = "DELETE FROM ".$this->tableName().";";
93 93
         $dataBase->exec($sqlClean);
94 94
         foreach ($this->arrayTipoAnulacion as $arrayItem) {
95 95
             $initialData = new NCFTipoAnulacion($arrayItem);
Please login to merge, or discard this patch.