Passed
Push — master ( c8976e...eafcc8 )
by guilherme
02:02
created
database/Read.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
             $this->read = DB::connect()->prepare("SELECT * FROM {$this->table} {$this->terms}");
133 133
             $this->read->execute($this->statement);
134 134
             return $this->result = $this->read->fetchAll(\PDO::FETCH_OBJ);
135
-        } catch (\PDOException $e) {
136
-            echo $e->getMessage() . " in " . $e->getFile();
135
+        }catch (\PDOException $e) {
136
+            echo $e->getMessage()." in ".$e->getFile();
137 137
         }
138 138
 
139 139
         return $this;
@@ -156,8 +156,8 @@  discard block
 block discarded – undo
156 156
             $this->read = DB::connect()->prepare("SELECT * FROM {$this->table} LIMIT {$this->limit} OFFSET {$this->offset}");
157 157
             $this->read->execute();
158 158
             $this->result = $this->read->fetchAll(\PDO::FETCH_OBJ);
159
-        }catch (\PDOException $e){
160
-            echo $e->getMessage() . " in " . $e->getFile();
159
+        }catch (\PDOException $e) {
160
+            echo $e->getMessage()." in ".$e->getFile();
161 161
 
162 162
         }
163 163
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
             $this->read = DB::connect()->prepare("SELECT * FROM {$this->table} LIMIT {$this->limit} OFFSET {$this->offset}");
157 157
             $this->read->execute();
158 158
             $this->result = $this->read->fetchAll(\PDO::FETCH_OBJ);
159
-        }catch (\PDOException $e){
159
+        } catch (\PDOException $e){
160 160
             echo $e->getMessage() . " in " . $e->getFile();
161 161
 
162 162
         }
Please login to merge, or discard this patch.