@@ -69,7 +69,7 @@ |
||
69 | 69 | |
70 | 70 | } catch (PDOException $e) { |
71 | 71 | |
72 | - throw new DatabaseException($e->getMessage(), (int)$e->getCode()); |
|
72 | + throw new DatabaseException($e->getMessage(), (int) $e->getCode()); |
|
73 | 73 | |
74 | 74 | } |
75 | 75 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | } catch (PDOException $e) { |
59 | 59 | |
60 | - throw new DatabaseException($e->getMessage(), (int)$e->getCode()); |
|
60 | + throw new DatabaseException($e->getMessage(), (int) $e->getCode()); |
|
61 | 61 | |
62 | 62 | } |
63 | 63 |
@@ -217,7 +217,7 @@ |
||
217 | 217 | */ |
218 | 218 | public function setFetchMode($mode) { |
219 | 219 | |
220 | - if ( in_array( $fetch = strtoupper($mode), Array('ASSOC', 'NUM', 'BOTH')) ) { |
|
220 | + if ( in_array($fetch = strtoupper($mode), Array('ASSOC', 'NUM', 'BOTH')) ) { |
|
221 | 221 | |
222 | 222 | $this->fetch = $fetch; |
223 | 223 |