Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1245-1247 (lines=3) @@
1242
                foreach ($where as $key => $whereItem) {
1243
                    $concatenation = empty($whereItem[3]) ? 'AND' : strtoupper($whereItem[3]);
1244
                    switch ($concatenation) {
1245
                        case 'AND':
1246
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1247
                            break;
1248
                        case 'OR':
1249
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1250
                            break;
@@ 1248-1250 (lines=3) @@
1245
                        case 'AND':
1246
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1247
                            break;
1248
                        case 'OR':
1249
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1250
                            break;
1251
                    }
1252
                }
1253