Completed
Push — 2.0 ( f89324...2ecda3 )
by Marco
14:14
created
src/Comodojo/Database/Results/SQLServerPDO.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Comodojo/Database/Models/PDOModelTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.