Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

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