Passed
Push — master ( eafcc8...c2603d )
by guilherme
01:36
created
database/Read.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -159,8 +159,8 @@  discard block
 block discarded – undo
159 159
             $this->read->execute($this->statement);
160 160
             $this->rows = $this->read->rowCount();
161 161
             return $this->result = $this->read->fetchAll(\PDO::FETCH_OBJ);
162
-        } catch (\PDOException $e) {
163
-            echo $e->getMessage() . " in " . $e->getFile();
162
+        }catch (\PDOException $e) {
163
+            echo $e->getMessage()." in ".$e->getFile();
164 164
         }
165 165
 
166 166
         return $this;
@@ -193,8 +193,8 @@  discard block
 block discarded – undo
193 193
             $this->result = $this->read->fetchAll(\PDO::FETCH_OBJ);
194 194
 
195 195
 
196
-        } catch (\PDOException $e) {
197
-            echo $e->getMessage() . " in " . $e->getFile();
196
+        }catch (\PDOException $e) {
197
+            echo $e->getMessage()." in ".$e->getFile();
198 198
 
199 199
         }
200 200
 
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 
204 204
     public function render()
205 205
     {
206
-        for ($i = 1; $i <= $this->maxLinks; $i++){
206
+        for ($i = 1; $i <= $this->maxLinks; $i++) {
207 207
             echo "<a href=\"?atual={$i}\" class=\"paginator\">{$i}</a>";
208 208
 
209 209
         }
Please login to merge, or discard this patch.