Passed
Branch master (b38eac)
by Tõnis
03:12
created
src/MyActiveRecord.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
          * primary keys must always be integers and we cast the param to int
113 113
          * for input sanitizing if its not an array
114 114
          */
115
-        if(!is_array($condition)) {
115
+        if (!is_array($condition)) {
116 116
             return parent::findOne((int) $condition);
117 117
         }
118 118
         return parent::findOne($condition);
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
          * primary keys must always be integers and we cast the param to int
127 127
          * for input sanitizing if its not an array
128 128
          */
129
-        if(!is_array($condition)) {
129
+        if (!is_array($condition)) {
130 130
             return parent::findAll((int) $condition);
131 131
         }
132 132
         return parent::findAll($condition);
Please login to merge, or discard this patch.