Passed
Push — master ( 110509...9ab1a3 )
by Joe Nilson
01:56
created
Model/NCFRango.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
                 . $idempresa
185 185
                 . ' AND tipocomprobante = '
186 186
                 . $dataBase->var2str($tipocomprobante)
187
-                . ' AND estado = ' . $dataBase->var2str(true)
187
+                . ' AND estado = '.$dataBase->var2str(true)
188 188
                 . ';';
189 189
         $data = $dataBase->select($sql);
190 190
         if (in_array($data, [null, ''], true)) {
Please login to merge, or discard this patch.
Extension/Model/FacturaCliente.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     
65 65
     public function saveInsert()
66 66
     {
67
-        return function () {
67
+        return function() {
68 68
             $ncfrango = new NCFRango();
69 69
             $cliente = new Cliente();
70 70
             $appSettins = new AppSettings;
@@ -94,11 +94,11 @@  discard block
 block discarded – undo
94 94
     public function all()
95 95
     {
96 96
         //parent::all();
97
-        return function () {
97
+        return function() {
98 98
             $this->facturarectnumero2 = '';
99 99
             if ($this->idfacturarect !== '') {
100 100
                 $facturaRectificativa = $this->get($this->idfacturarect);
101
-                $this->loadFromData(['facturarectnumero2' => 'SI' ]);
101
+                $this->loadFromData(['facturarectnumero2' => 'SI']);
102 102
                 $this->facturarectnumero2 = $facturaRectificativa->numero2;
103 103
             } else {
104 104
                 $this->loadFromData(['facturarectnumero2' => 'NO HAY']);
Please login to merge, or discard this patch.