Passed
Branch master (1156a5)
by guilherme
01:58
created
database/Delete.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $this->result->execute($this->statements);
39 39
             $this->error = true;
40 40
 
41
-        }catch (\PDOException $e){
41
+        } catch (\PDOException $e){
42 42
             echo $e->getMessage();
43 43
 
44 44
         }
Please login to merge, or discard this patch.
database/Create.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             $this->statements->execute($this->data);
46 46
             $this->result = DB::connect()->lastInsertId();
47 47
 
48
-        }catch (\PDOException $e){
48
+        } catch (\PDOException $e){
49 49
             echo $e->getMessage();
50 50
 
51 51
         }
Please login to merge, or discard this patch.
database/Update.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             $this->error = ['dado atualizado'];
81 81
 
82 82
 
83
-        }catch (\PDOException $e){
83
+        } catch (\PDOException $e){
84 84
             echo $e->getMessage();
85 85
 
86 86
         }
Please login to merge, or discard this patch.