@@ -159,8 +159,8 @@ discard block |
||
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 |
||
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 |
||
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 | } |