@@ -112,7 +112,7 @@ discard block |
||
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 |
||
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); |