Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1184-1186 (lines=3) @@
1181
                foreach ($where as $key => $whereItem) {
1182
                    $concatenation = empty($whereItem[3]) ? 'AND' : strtoupper($whereItem[3]);
1183
                    switch ($concatenation) {
1184
                        case 'AND':
1185
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1186
                            break;
1187
                        case 'OR':
1188
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1189
                            break;
@@ 1187-1189 (lines=3) @@
1184
                        case 'AND':
1185
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1186
                            break;
1187
                        case 'OR':
1188
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1189
                            break;
1190
                    }
1191
                }
1192