@@ -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 | |
@@ -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 | |