Passed
Push — main ( 5b1d24...0bc9e7 )
by Osvaldo
01:39
created
src/pdoDataBase/consulta/Consulta.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
             $consulta->execute();
43 43
             $this->_ultimaIdInsertada = $this->_conexionBaseDeDatos->lastInsertId(); 
44 44
             
45
-        }
46
-        catch(PDOException $e)
45
+        } catch(PDOException $e)
47 46
         {
48 47
             throw new ConsultaException("Error al procesar la consulta");
49 48
         }
Please login to merge, or discard this patch.
src/pdoDataBase/update/Update.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@
 block discarded – undo
29 29
     public function update(): string
30 30
     {
31 31
         $set = "";
32
-		$values = [];
32
+        $values = [];
33 33
 
34
-		foreach ($this->_valoresAInsertar->valoresAInsertar() as $key => $value)
35
-		{
36
-			$set = $set. ' ' .$key. ' = ?,';
37
-			array_push($values, $value);
38
-		}
34
+        foreach ($this->_valoresAInsertar->valoresAInsertar() as $key => $value)
35
+        {
36
+            $set = $set. ' ' .$key. ' = ?,';
37
+            array_push($values, $value);
38
+        }
39 39
 
40 40
         $valores = trim($set, ',');
41 41
 
Please login to merge, or discard this patch.