Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1205-1207 (lines=3) @@
1202
                foreach ($where as $key => $whereItem) {
1203
                    $concatenation = empty($whereItem[3]) ? 'AND' : strtoupper($whereItem[3]);
1204
                    switch ($concatenation) {
1205
                        case 'AND':
1206
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1207
                            break;
1208
                        case 'OR':
1209
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1210
                            break;
@@ 1208-1210 (lines=3) @@
1205
                        case 'AND':
1206
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1207
                            break;
1208
                        case 'OR':
1209
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1210
                            break;
1211
                    }
1212
                }
1213