Completed
Branch 2.0 (f89324)
by Marco
03:45
created
src/Comodojo/Database/Models/PDOModelTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Comodojo/Database/Results/QueryResultInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -57,13 +57,13 @@
 block discarded – undo
57 57
      */
58 58
     public function getLength();
59 59
 
60
-     /**
61
-      * Get number of rows affected by query
62
-      *
63
-      * @return  int
64
-      * @throws  DatabaseException
65
-      */
66
-     public function getAffectedRows();
60
+        /**
61
+         * Get number of rows affected by query
62
+         *
63
+         * @return  int
64
+         * @throws  DatabaseException
65
+         */
66
+        public function getAffectedRows();
67 67
 
68 68
     /**
69 69
      * Get last insert id (if available)
Please login to merge, or discard this patch.
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.