Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

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